ModSecurity < 2.1.1 POST Data Null Byte Filter Bypass

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


Synopsis :

The remote web application firewall may be affected by a security
bypass vulnerability.

Description :

According to its banner, the version of ModSecurity installed on the
remote host is earlier than 2.1.1. It is, therefore, potentially
affected by a security bypass vulnerability. An error exists related
to HTTP POST requests and 'application/x-www-form-urlencoded' content
containing un-encoded NULL bytes that could allow a remote attacker to
bypass certain filters and carry out attacks.

Note that Nessus did not actually test for this issue, but instead has
relied on the version in the server's banner.

See also :

http://blog.spiderlabs.com/2007/03/modsecurity-asciiz-evasion.html

Solution :

Upgrade to ModSecurity version 2.1.1 or later.

Risk factor :

Medium / CVSS Base Score : 6.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.6
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Firewalls

Nessus Plugin ID: 67124 ()

Bugtraq ID: 22831

CVE ID: CVE-2007-1359