Skip to content
OpenAdvisories
Unscored CVE-2012-2751 EUVD-2012-2731GHSA-38m7-p7j8-c694

ModSecurity before 2.6.6, when used with PHP, does not properly handle single quotes not at the beginning of a request parameter value in t…

Published Jul 22, 2012 · Updated Aug 6, 2024 · Assigned by redhat

Description

ModSecurity 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 modsecurity-apache 2.6.6-1 —
Debian 13 modsecurity-apache 2.6.6-1 —
Debian 12 modsecurity-apache 2.6.6-1 —
Debian 6.0 libapache-mod-security 2.5.12-1+squeeze1 DSA-2506-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache2-mod_security2 2.9.0-5.6 openSUSE-SU-2024:10034-1

Advisories 2

References