All vulnerabilities

Servers and applications

CVE-2012-2751

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…

Severity
Medium 4.3
Published
22 Jul 2012
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.6.6
Exploit chance
3.3% in the next 30 daysHigher than 88% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Change some data
CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
ModSecurityServers and applications · cpe:a:trustwave:modsecurity
  • Every version before 2.6.6

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-2751
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-2751