Gentoo 2514 Published by

A new security update has been released for Gentoo Linux - Apache: Off-by-one flaw in mod_rewrite. Here the announcement:



Gentoo Linux Security Advisory GLSA 200608-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: Apache: Off-by-one flaw in mod_rewrite
Date: August 01, 2006
Bugs: #141986
ID: 200608-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

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

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-www/apache < 2.0.58-r2 *>=3D 1.3.34-r14
*>=3D 1.3.37
>=3D 2.0.58-r2

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
=3D=3D=3D=3D=3D=3D

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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

There is no known workaround at this time.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All Apache users should upgrade to the latest version:

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

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

[ 1 ] CVE-2006-3747
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2006-3747
[ 2 ] Apache HTTP Server 2.0 Announcement
http://www.apache.org/dist/httpd/Announcement2.0.html
[ 3 ] Apache HTTP Server 1.3 Announcement
http://www.apache.org/dist/httpd/Announcement1.3.html

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
http://bugs.gentoo.org.

License
=3D=3D=3D=3D=3D=3D=3D

Copyright 2006 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.

http://creativecommons.org/licenses/by-sa/2.5