27588 : Apache HTTP Server mod_rewrite LDAP Protocol URL Handling Overflow
Printer | http://osvdb.org/27588 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
19 4230 over 5 years ago 4 months ago 12 times 90%

Timeline

Disclosure Date Exploit Publish Date
2006-07-28 2006-08-20

Keywords

HPSBMA02250, SSRT061275 HPSBMA02328, SSRT071293 HPSBMA02250, SSRT061275

Description

A remote overflow exists in Apache HTTP Server's 'mod_rewrite' module when using LDAP scheme handling and specific rules (see technical desc). The Apache Server fails to check input boundaries resulting in an off-by-one overflow. With a specially crafted request, an attacker can cause a denial of service or possibly execute arbitrary code resulting in a loss of integrity and/or availability.

Classification

Location: Remote / Network Access
Attack Type: Denial of Service, Input Manipulation
Impact: Loss of Integrity, Loss of Availability
Exploit: Exploit Public, Exploit Commercial
Disclosure: OSVDB Verified, Vendor Verified

Technical

Some RewriteRules, specifically those where the remote user can influence the beginning of a rewritten URL and that do not include any of the following flags: Forbidden (F), Gone (G), or NoEscape (NE) could expose the vulnerability.

For example, this type of rule is vulnerable:
RewriteRule fred/(.*)
While this one is not :
RewriteRule fred/(.*) joe/

Solution

Upgrade to version 1.3.37, 2.0.59, 2.2.3 or higher, as it has been reported to fix this vulnerability. Alternatively, users can disable mod_rewrite engine (by setting "RewriteEngine off") as a workaround.

Products

Apache Software Foundation
Watch-list
Apache
Watch-list
2.2.0
2.2.1
2.2.2
1.3.28
1.3.29
1.3.30
1.3.31
1.3.32
1.3.33
1.3.34
1.3.35
1.3.36
2.0.46
2.0.47
2.0.48
2.0.49
2.0.50
2.0.51
2.0.52
2.0.53
2.0.54
2.0.55
2.0.56
2.0.57
2.0.58

References

Tools & Filters

Snort

11679
22118 22143 22152 22673 22674 23883 24161 24162 25659 27145 27907 29372 31654 31655 31659

Credit

  • Mark Dowd - Avertavertlabs.com - McAfee Avert(tm) Labs

CVSSv2 Score

CVSSv2 Base Score = 7.6
Source: nvd.nist.gov | Generated: 2006-07-31 | Disagree?

Access_vector_2 Access_complexity_0 Authentication_2 Confidentiality_impact_2 Integrity_impact_2 Availability_impact_2

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use