CVE-2012-2751

NameCVE-2012-2751
DescriptionModSecurity before 2.6.6, when used with PHP, does not properly handle single quotes not at the beginning of a request parameter value in the Content-Disposition field of a request with a multipart/form-data Content-Type header, which allows remote attackers to bypass filtering rules and perform other attacks such as cross-site scripting (XSS) attacks. NOTE: this vulnerability exists because of an incomplete fix for CVE-2009-5031.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-2506-1
Debian Bugs678527, 678529

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
modsecurity-apache (PTS)stretch2.9.1-2fixed
stretch (security)2.9.1-2+deb9u1fixed
buster, buster (security)2.9.3-1+deb10u1fixed
bullseye (security), bullseye2.9.3-3+deb11u1fixed
bookworm, sid2.9.5-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libapache-mod-securitysourcesqueeze2.5.12-1+squeeze1DSA-2506-1
libapache-mod-securitysource(unstable)(unfixed)678529
modsecurity-apachesource(unstable)2.6.6-1678527

Notes

https://www.openwall.com/lists/oss-security/2012/06/22/1
https://www.openwall.com/lists/oss-security/2012/06/22/2

Search for package or bug name: Reporting problems