From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 31 Jul 2006 18:14:38 +0200
Subject: [NEWS] Apache "mod_rewrite" LDAP URI Handling Remote Off-By-One Buffer Overflow
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20060731172746.5DBF8576B@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Apache "mod_rewrite" LDAP URI Handling Remote Off-By-One Buffer Overflow
------------------------------------------------------------------------
SUMMARY
A vulnerability has been identified in Apache, which could be exploited by
remote attackers to compromise a vulnerable server or cause a denial of
service. This flaw is due to an off-by-one buffer overflow error in the
"escape_absolute_uri()" function when processing a specially crafted LDAP
URI, which could be exploited by remote attackers to execute arbitrary
commands on a web server configured with certain Rewrite rules (the
attacker must be able to control the initial part of the rewritten URL,
and the rule must not contain a forbidden [F], gone [G], or NoEscape [NE]
flag).
DETAILS
Vulnerable Systems:
* Apache versions 1.3.28 through 1.3.36
* Apache versions 2.0.46 through 2.0.58
* Apache versions 2.2.0 through 2.2.2
Immune Systems:
* Apache versions 1.3.37
* Apache versions 2.0.59
* Apache versions 2.2.2
Off-by-one error in the 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.
CVE Information:
<http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3747>
CVE-2006-3747
Patch Information:
Patch details can be found at:
<http://svn.apache.org/viewvc?view=rev&revision=426144>
http://svn.apache.org/viewvc?view=rev&revision=426144
ADDITIONAL INFORMATION
The information has been provided by Mark Dowd.
The original article can be found at:
<http://www.apache.org/dist/httpd/Announcement2.0.html>
http://www.apache.org/dist/httpd/Announcement2.0.html
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.