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

Views This Week

37

Views All Time

968

Info

Last Modified

about 1 month ago

Percent Complete

100%

Disclosure

Jul 28, 2006

Discovery

Unknown

Dates

Exploit

Aug 20, 2006

Solution

Unknown

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 Required
Attack Type: Denial of Service, Input Manipulation
Impact: Loss of Integrity, Loss of Availability
Exploit: Exploit Available
Disclosure: OSVDB 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.0.46
2.0.47
2.0.48
2.0.49
1.3.28
1.3.29
1.3.30
1.3.31
1.3.33
2.0.52
1.3.32
2.0.50
2.0.51
2.0.53
2.0.54
2.2.0
2.2.1
2.2.2
1.3.34
1.3.35
1.3.36
2.0.55
2.0.56
2.0.57
2.0.58

References

Tools & Filters

Snort

11679

Nessus

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

Credit

  • Mark Dowd - AvertBrand New Doo Dooavertlabs.com - McAfee Avert(tm) Labs

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

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 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use