CVE-2012-2751

CVE-2012-2751 is a medium-severity vulnerability in Trustwave Modsecurity with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

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.

Frequently asked questions

What is 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 an incomplete fix for CVE-2009-5031.
How severe is CVE-2012-2751?
CVE-2012-2751 has a CVSS 2.0 base score of 4.3, rated medium severity.
Is CVE-2012-2751 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (87th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-2751?
CVE-2012-2751 primarily affects Trustwave Modsecurity. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-2751?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-2751 published?
CVE-2012-2751 was published on 2012-07-22 and last updated on 2026-06-16.

References

Affected products (7)

More vulnerabilities in Trustwave Modsecurity

All CVEs affecting Trustwave Modsecurity →