Skip to content
OpenAdvisories
Unscored Public exploit CVE-2006-3747 EUVD-2006-3741GHSA-47q7-qpgp-938j

Off-by-one error in the ldap scheme handling in the Rewrite module (mod_rewrite) in Apache 1.3 from 1.3.28, 2.0.46 and other versions befor…

Published Jul 28, 2006 · Updated Aug 7, 2024 · Assigned by redhat

Description

Off-by-one error in the ldap scheme handling in the Rewrite module (mod_rewrite) in Apache 1.3 from 1.3.28, 2.0.46 and other versions before 2.0.59, and 2.2, when RewriteEngine is enabled, allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted URLs that are not properly handled using certain rewrite rules.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apache2 2.0.55-4.1 —
Debian 13 apache2 2.0.55-4.1 —
Debian 12 apache2 2.0.55-4.1 —
Debian 3.1 apache 1.3.33-6sarge2 DSA-1131-1
Debian 3.1 apache2 2.0.54-5sarge1 DSA-1132-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache2 2.4.49-1.1 openSUSE-SU-2024:10623-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Exploit-DB 4

GitHub 1 repository

  • defensahacker/CVE-2006-3747 ★ 2 · Nov 26, 2016

    Information about my advisory on CVE-2006-3747 (Apache mod_rewrite LDAP off-by-one buffer overflow).. At the time, it was the first public working exploit :)

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References