{"id":"CVE-2006-3747","published":"2006-07-28T18:00:00Z","modified":"2024-08-07T18:39:54Z","title":"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…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is an off-by-one error in the ldap scheme handling of the Rewrite module (mod_rewrite) in Apache, affecting Apache 1.3 from 1.3.28, 2.0.46 and other versions before 2.0.59, and 2.2. An attacker with only network access can send crafted URLs, which are mishandled by certain rewrite rules, to crash the application or possibly execute arbitrary code, provided RewriteEngine is enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:18:12Z"},"cvss":null,"epss":{"score":0.97131,"percentile":0.99894,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/21266","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/21307","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01118771","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.vupen.com/english/advisories/2006/3995","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/28063","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102662-1","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01428449","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www-1.ibm.com/support/docview.wss?uid=swg27007951","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/archive/1/450321/100/0/threaded","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.vupen.com/english/advisories/2006/4300","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-July/048271.html","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://secunia.com/advisories/23028","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://svn.apache.org/viewvc?view=rev&revision=426144","tags":["x_refsource_MISC"]},{"url":"http://www.vupen.com/english/advisories/2006/3282","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/21284","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www-1.ibm.com/support/docview.wss?uid=swg1PK29156","tags":["vendor-advisory","x_refsource_AIXAPAR"]},{"url":"http://kbase.redhat.com/faq/FAQ_68_8653.shtm","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/22523","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2008/1246/references","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://marc.info/?l=bugtraq&m=130497311408250&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://secunia.com/advisories/23260","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/3264","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.novell.com/linux/security/advisories/2006_43_apache.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.vupen.com/english/advisories/2008/0924/references","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/21313","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/29849","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/4015","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/21273","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA08-150A.html","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"http://secunia.com/advisories/21478","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/441487/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://security.gentoo.org/glsa/glsa-200608-01.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.securityfocus.com/archive/1/441485/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/22368","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/26329","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/445206/100/0/threaded","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www14.software.ibm.com/webapp/set2/subscriptions/pqvcmjd?mode=18&ID=3117","tags":["x_refsource_CONFIRM"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102663-1","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://secunia.com/advisories/29420","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.apache.org/dist/httpd/Announcement2.0.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/19204","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/21245","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/4868","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://secunia.com/advisories/30430","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/4207","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://lists.apple.com/archives/security-announce/2008//May/msg00001.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2006:133","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/21315","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.kb.cert.org/vuls/id/395412","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://secunia.com/advisories/21509","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/21346","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securitytracker.com/id?1016601","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://docs.info.apple.com/article.html?artnum=307562","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/archive/1/441526/100/200/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.debian.org/security/2006/dsa-1131","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/21247","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/3884","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.vupen.com/english/advisories/2008/1697","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/archive/1/443870/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://issues.rpath.com/browse/RPL-538","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/22262","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.015-apache.html","tags":["vendor-advisory","x_refsource_OPENPKG"]},{"url":"http://securityreason.com/securityalert/1312","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://www.debian.org/security/2006/dsa-1132","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www-1.ibm.com/support/docview.wss?uid=swg1PK29154","tags":["vendor-advisory","x_refsource_AIXAPAR"]},{"url":"http://secunia.com/advisories/21241","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2006/3017","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.vupen.com/english/advisories/2007/2783","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2006-July/048267.html","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://www.ubuntu.com/usn/usn-328-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www-1.ibm.com/support/docview.wss?uid=swg24013080","tags":["vendor-advisory","x_refsource_AIXAPAR"]},{"url":"http://www.osvdb.org/27588","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://lwn.net/Alerts/194228/","tags":["vendor-advisory","x_refsource_TRUSTIX"]},{"url":"http://secunia.com/advisories/22388","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/21197","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://lists.apache.org/thread.html/54a42d4b01968df1117cea77fc53d6beb931c0e05936ad02af93e9ac%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/5df9bfb86a3b054bb985a45ff9250b0332c9ecc181eec232489e7f79%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r0276683d8e1e07153fc8642618830ac0ade85b9ae0dc7b07f63bb8fc%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r8828e649175df56f1f9e3919938ac7826128525426e2748f0ab62feb%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r652fc951306cdeca5a276e2021a34878a76695a9f3cfb6490b4a6840%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r2cb985de917e7da0848c440535f65a247754db8b2154a10089e4247b%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r9e8622254184645bc963a1d47c5d47f6d5a36d6f080d8d2c43b2b142%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/reb542d2038e9c331506e0cbff881b47e40fbe2bd93ff00979e60cdf7%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rafd145ba6cd0a4ced113a5823cdaff45aeb36eb09855b216401c66d6%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rdca61ae990660bacb682295f2a09d34612b7bb5f457577fe17f4d064%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r75cbe9ea3e2114e4271bbeca7aff96117b50c1b6eb7c4772b0337c1f%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2006-3741","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2006-3741","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":2237,"url":"https://www.exploit-db.com/exploits/2237","title":"Apache < 1.3.37/2.0.59/2.2.3 mod_rewrite - Remote Overflow","type":"remote","platform":"multiple","date":"2006-08-21","verified":true,"provenance":"source"},{"id":3680,"url":"https://www.exploit-db.com/exploits/3680","title":"Apache mod_rewrite (Windows x86) - Off-by-One Remote Overflow","type":"remote","platform":"windows_x86","date":"2007-04-07","verified":true,"provenance":"source"},{"id":3996,"url":"https://www.exploit-db.com/exploits/3996","title":"Apache 2.0.58 mod_rewrite (Windows 2003) - Remote Overflow","type":"remote","platform":"windows","date":"2007-05-26","verified":true,"provenance":"source"},{"id":16752,"url":"https://www.exploit-db.com/exploits/16752","title":"Apache mod_rewrite - LDAP protocol Buffer Overflow (Metasploit)","type":"remote","platform":"windows","date":"2010-02-15","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":4,"earliest":"2006-08-21"},"pocGithub":{"count":1,"skipped":0,"earliest":"2016-11-26","earliestUrl":"https://github.com/defensahacker/CVE-2006-3747","repos":[{"name":"defensahacker/CVE-2006-3747","url":"https://github.com/defensahacker/CVE-2006-3747","stars":2,"created":"2016-11-26"}]},"metasploit":[{"name":"Apache Module mod_rewrite LDAP Protocol Buffer Overflow","module":"exploit/windows/http/apache_mod_rewrite_ldap","type":"exploit","disclosureDate":"2006-07-28","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/apache_mod_rewrite_ldap.rb"}],"first":{"date":"2006-07-28","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/apache_mod_rewrite_ldap.rb"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2006-07-28","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2006-3747","provenance":"source"},{"date":"2006-07-28","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2006-08-21, PoC-in-GitHub 2016-11-26","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/http/apache_mod_rewrite_ldap.rb","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":25.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.98,"detail":"percentile 0.9989"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"4 Exploit-DB entries; 1 PoC-in-GitHub repo; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}