Description
Interpretation conflict in ModSecurity (mod_security) 2.1.0 and earlier allows remote attackers to bypass request rules via application/x-www-form-urlencoded POST data that contains an ASCIIZ (0x00) byte, which mod_security treats as a terminator even though it is still processed as normal data by some HTTP parsers including PHP 5.2.0, and possibly parsers in Perl, and Python.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- mod_security 2.1.0 - ASCIIZ byte POST Rules Bypass EDB-3425 · remote · Mar 7, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://www.oracle.com/technetwork/topics/security/cpujul2008-090335.html
- ADV-2008-2115 vdb-entry
- modsecurity-formurlencoded-security-bypass(32872) vdb-entry
- ADV-2007-0868 vdb-entry
- SSRT061201 vendor-advisory
- http://www.php-security.org/MOPB/BONUS-12-2007.html
- http://www.modsecurity.org/blog/archives/2007/03/modsecurity_asc.html
- 25316 third-party-advisory
- ADV-2008-2109 vdb-entry
- 24373 third-party-advisory
- 31087 third-party-advisory
- GLSA-200705-17 vendor-advisory
- 31113 third-party-advisory
- 22831 vdb-entry
- 32778 vdb-entry