A vulnerability has been discovered in mod_security, allowing a remote attacker to bypass rules.
|Package||www-apache/mod_security on all architectures|
|Affected versions||< 2.1.1|
|Unaffected versions||>= 2.1.1|
mod_security is an Apache module designed for enhancing the security of the Apache web server.
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.
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.
There is no known workaround at this time.
All mod_security users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=www-apache/mod_security-2.1.1"
May 17, 2007
December 30, 2007: 02