← Vulnerability feed

Vulnerability record · CVE-2006-3747 · published 28 July 2006

CVE-2006-3747: Apache mod_rewrite LDAP scheme off-by-one allows crash and possible code execution

Apache · Http Server

An off-by-one error in the LDAP scheme handling of Apache's mod_rewrite affects Apache 1.3 from 1.3.28, 2.0.46 and other versions before 2.0.59, and 2.2 when RewriteEngine is enabled. Crafted URLs processed by certain rewrite rules can crash the server and may allow arbitrary code execution. The flaw matters because mod_rewrite is widely deployed and reachable by unauthenticated remote clients.

7.6 CVSS 2.0 High EPSS 97% · top 0.1% CWE-189 · CWE-189
7.6CVSS 2.0 base score
97%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
180References
16 Jun 2026Last modified by NVD

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.

AV:N/AC:H/Au:N/C:C/I:C/A:C

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

high priorityRemote unauthenticated flaw with a high CVSS score and very high EPSS probability, though exploitation requires specific rewrite rule configurations and no KEV listing exists.

What it is

An off-by-one error in the LDAP scheme handling of Apache's mod_rewrite affects Apache 1.3 from 1.3.28, 2.0.46 and other versions before 2.0.59, and 2.2 when RewriteEngine is enabled. Crafted URLs processed by certain rewrite rules can crash the server and may allow arbitrary code execution. The flaw matters because mod_rewrite is widely deployed and reachable by unauthenticated remote clients.

Impact

An attacker can cause a denial of service by crashing the Apache process and may be able to execute arbitrary code in the context of the web server.

Attack surface

Reached remotely over the network via crafted HTTP URLs handled by mod_rewrite rules that use the LDAP scheme; no authentication is required and no user interaction is indicated by the AV:N/Au:N vector.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.96578, 99.88th percentile), and references include full-disclosure mailing list posts, indicating public discussion of the flaw.

What to do

  • Upgrade Apache to a fixed release (2.0.59 or later for the 2.0 branch, or a patched 2.2/1.3 build) as the first action.
  • If patching is not immediately possible, disable RewriteEngine or remove rewrite rules that handle the LDAP scheme.
  • Apply vendor patches from Apache, Canonical, Debian, Red Hat, HP or Apple as applicable to your distribution.
  • Restrict or monitor external access to web servers running affected Apache versions until patched.

Detection

  • Review Apache error and access logs for crashes or abnormal requests to URLs matching rewrite rules that use the LDAP scheme.
  • Monitor for repeated Apache process crashes or restarts correlated with crafted URL patterns.
  • Inventory Apache versions and confirm which hosts have RewriteEngine enabled with LDAP-related rewrite rules.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://docs.info.apple.com/article.html?artnum=307562 Third Party Advisory
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01118771 Third Party Advisory
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01428449 Third Party Advisory
http://kbase.redhat.com/faq/FAQ_68_8653.shtm Third Party Advisory
http://lists.apple.com/archives/security-announce/2008//May/msg00001.html Mailing ListThird Party Advisory
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html Mailing ListThird Party Advisory
http://lists.grok.org.uk/pipermail/full-disclosure/2006-July/048267.html Third Party Advisory
http://lists.grok.org.uk/pipermail/full-disclosure/2006-July/048271.html Mailing ListThird Party Advisory
http://lwn.net/Alerts/194228/ Mailing ListThird Party Advisory
http://marc.info/?l=bugtraq&m=130497311408250&w=2 Mailing ListThird Party Advisory
http://secunia.com/advisories/21197 Broken Link
http://secunia.com/advisories/21241 Broken Link
http://secunia.com/advisories/21245 Broken Link
http://secunia.com/advisories/21247 Broken Link
http://secunia.com/advisories/21266 Broken Link
http://secunia.com/advisories/21273 Broken Link
http://secunia.com/advisories/21284 Broken Link
http://secunia.com/advisories/21307 Broken Link
http://secunia.com/advisories/21313 Broken Link
http://secunia.com/advisories/21315 Broken Link
http://secunia.com/advisories/21346 Broken Link
http://secunia.com/advisories/21478 Broken Link
http://secunia.com/advisories/21509 Broken Link
http://secunia.com/advisories/22262 Broken Link
http://secunia.com/advisories/22368 Broken Link
http://secunia.com/advisories/22388 Broken Link
http://secunia.com/advisories/22523 Broken Link
http://secunia.com/advisories/23028 Broken Link
http://secunia.com/advisories/23260 Broken Link
http://secunia.com/advisories/26329 Broken Link
http://secunia.com/advisories/29420 Broken Link
http://secunia.com/advisories/29849 Broken Link
http://secunia.com/advisories/30430 Broken Link
http://security.gentoo.org/glsa/glsa-200608-01.xml Third Party Advisory
http://securityreason.com/securityalert/1312 Third Party Advisory
http://securitytracker.com/id?1016601 Third Party AdvisoryVDB Entry
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102662-1 Broken Link
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102663-1 Broken Link
http://svn.apache.org/viewvc?view=rev&revision=426144 Vendor Advisory
http://www-1.ibm.com/support/docview.wss?uid=swg1PK29154 Third Party Advisory

Track CVE-2006-3747 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2006-3747), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.