GLSA 200608-01: Apache: Off-by-one flaw in mod_rewrite

Severity:high
Title:Apache: Off-by-one flaw in mod_rewrite
Date:08/01/2006
Bugs: #141986
ID:200608-01

Synopsis

A flaw in mod_rewrite could result in a Denial of Service or the execution of arbitrary code.

Background

The Apache HTTP server is one of the most popular web servers on the Internet. The Apache module mod_rewrite provides a rule-based engine to rewrite requested URLs on the fly.

Affected packages

Package Vulnerable Unaffected Architecture(s)
www-servers/apache < 2.0.58-r2 >= 1.3.34-r14 All supported architectures

Description

An off-by-one flaw has been found in Apache's mod_rewrite module by Mark Dowd of McAfee Avert Labs. This flaw is exploitable depending on the types of rewrite rules being used.

Impact

A remote attacker could exploit the flaw to cause a Denial of Service or execution of arbitrary code. Note that Gentoo Linux is not vulnerable in the default configuration.

Workaround

There is no known workaround at this time.

Resolution

All Apache users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose www-servers/apache

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200608-01.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!