[ GLSA 200705-17 ] Apache mod_security: Rule bypass



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200705-17
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Low
Title: Apache mod_security: Rule bypass
Date: May 17, 2007
Bugs: #169778
ID: 200705-17

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

Synopsis
========

A vulnerability has been discovered in mod_security, allowing a remote
attacker to bypass rules.

Background
==========

mod_security is an Apache module designed for enhancing the security of
the Apache web server.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-www/mod_security < 2.1.1 >= 2.1.1

Description
===========

Stefan Esser discovered that mod_security processes NULL characters as
terminators in POST requests using the
application/x-www-form-urlencoded encoding type, while other parsers
used in web applications do not.

Impact
======

A remote attacker could send a specially crafted POST request, possibly
bypassing the module ruleset and leading to the execution of arbitrary
code in the scope of the web server with the rights of the user running
the web server.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All mod_security users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-www/mod_security-2.1.1"

References
==========

[ 1 ] CVE-2007-1359
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1359

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

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

License
=======

Copyright 2007 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

Attachment: pgpjLGnToZvjo.pgp
Description: PGP signature



Relevant Pages

  • [NT] Poisoning Cached HTTPS Documents in Internet Explorer
    ... Get your security news from a reliable source. ... "poison" a user's browser cache with a malicious document that will later ... The attacker can exploit this vulnerability for "replacing" HTML ... to communicate with a malicious web server over HTTPS without the browser ...
    (Securiteam)
  • [Full-disclosure] [ GLSA 200705-17 ] Apache mod_security: Rule bypass
    ... Title: Apache mod_security: Rule bypass ... A remote attacker could send a specially crafted POST request, ... code in the scope of the web server with the rights of the user running ... the Gentoo Security Website: ...
    (Full-Disclosure)
  • [Full-Disclosure] [ GLSA 200406-16 ] Apache 1.3: Buffer overflow in mod_proxy
    ... A bug in mod_proxy may allow a remote attacker to execute arbitrary ... code when Apache is configured a certain way. ... A bug in the proxy_util.c file may lead to a remote buffer overflow. ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Full-Disclosure)
  • Re: hiding Aache information
    ... Tracy Philips already gave me an answer for this question earlier. ... I am running a web server with Ubuntu 7.10 + Apache 2.2.4. ... removing this information as an important security step, ...
    (Ubuntu)
  • Re: ssh and ids
    ... Looks like the security of the server's private keys is dependent on ... > product that is less secure than a typical web server. ... > best protection against covert channels is to stop the attacker before ...
    (Focus-IDS)