<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> <glsa id="200705-17"> <title>Apache mod_security: Rule bypass</title> <synopsis> A vulnerability has been discovered in mod_security, allowing a remote attacker to bypass rules. </synopsis> <product type="ebuild">mod_security</product> <announced>May 17, 2007</announced> <revised>December 30, 2007: 02</revised> <bug>169778</bug> <access>remote</access> <affected> <package name="www-apache/mod_security" auto="yes" arch="*"> <unaffected range="ge">2.1.1</unaffected> <vulnerable range="lt">2.1.1</vulnerable> </package> </affected> <background> <p> mod_security is an Apache module designed for enhancing the security of the Apache web server. </p> </background> <description> <p> 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. </p> </description> <impact type="low"> <p> 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. </p> </impact> <workaround> <p> There is no known workaround at this time. </p> </workaround> <resolution> <p> All mod_security users should upgrade to the latest version: </p> <code> # emerge --sync # emerge --ask --oneshot --verbose ">=www-apache/mod_security-2.1.1"</code> </resolution> <references> <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1359">CVE-2007-1359</uri> </references> <metadata tag="requester" timestamp="Fri, 11 May 2007 23:14:33 +0000"> shellsage </metadata> <metadata tag="bugReady" timestamp="Sun, 13 May 2007 04:49:45 +0000"> shellsage </metadata> <metadata tag="submitter" timestamp="Sun, 13 May 2007 13:46:57 +0000"> p-y </metadata> </glsa>