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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/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)bullseye2.9.3-3+deb11u2fixed
bullseye (security)2.9.3-3+deb11u1fixed
bookworm2.9.7-1fixed
sid, trixie2.9.8-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