[Full-disclosure] [ GLSA 200608-01 ] Apache: Off-by-one flaw in mod_rewrite

Matthias Geerdsen vorlon at gentoo.org
Tue Aug 1 13:04:12 BST 2006


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

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
    -------------------------------------------------------------------
  1  net-www/apache      < 2.0.58-r2                    *>= 1.3.34-r14
                                                            *>= 1.3.37
                                                          >= 2.0.58-r2

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 net-www/apache

References
==========

  [ 1 ] CVE-2006-3747
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-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
============

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 at gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20060801/d187a7fc/attachment.bin 


Full-Disclosure is hosted and sponsored by Secunia.