Secunia Logo
Netsikker nu! 2008
 
Apache mod_rewrite Off-By-One Buffer Overflow Vulnerability
Secunia Advisory: SA21197
Release Date: 2006-07-28
Last Update: 2006-07-29
Popularity: 28,365 views

Critical:
Moderately critical
Impact: DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:Apache 1.3.x
Apache 2.0.x
Apache 2.2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-3747


Description:
A vulnerability has been reported in Apache HTTP Server, which potentially can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused by a off-by-one error in mod_rewrite within the ldap scheme handling and can be exploited to cause a one-byte buffer overflow.

Successful exploitation may crash the web server process or allow execution of arbitrary code. However, this depends on the manner which Apache HTTP Server was compiled and also requires the following:
* Certain types of Rewrite rules are used where the beginning of the rewritten URL is controlled.
* The RewriteRule flags do not include the Forbidden (F), Gone (G), or NoEscape (NE) flag.

The vulnerability affects Apache 1.3 since 1.3.28, 2.0 since 2.0.46, and 2.2 since 2.2.0.

Solution:
Update to version 1.3.37, 2.0.59, or 2.2.3.

Provided and/or discovered by:
The vendor credits Mark Dowd, McAfee Avert Labs.

Changelog:
2006-07-29: Added link to US-CERT.

Original Advisory:
http://www.apache.org/dist/httpd/Announcement1.3.html
http://www.apache.org/dist/httpd/Announcement2.0.html
http://www.apache.org/dist/httpd/Announcement2.2.html

Other References:
US-CERT VU#395412:
http://www.kb.cert.org/vuls/id/395412


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. My PHP Indexer "d" File Disclosure Vulnerability // 36 views
2. phpBB "url" bbcode Script Insertion Vulnerability // 36 views
3. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 32 views
4. Joomla Ignite Gallery Component "gallery" SQL Injection // 29 views
5. phpBB BBcode "url" Script Insertion Vulnerability // 29 views
6. WinFTP "PASV" Denial of Service Vulnerability // 29 views
7. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 29 views
8. Joomla OwnBiblio Component "catid" SQL Injection // 28 views
9. Real Estates Classifieds "cat" SQL Injection Vulnerability // 26 views
10. MunzurSoft Wep Portal W3 "kat" SQL Injection Vulnerability // 26 views