CVE-2009-5031
ModSecurity before 2.5.11 treats request parameter values containing single quotes as files, which allows remote attackers to bypass…
- 4.3MediumCVSS base score
- 2.9%Exploitation in 30 daysEPSS · top 13% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
ModSecurity before 2.5.11 treats request parameter values containing single quotes as files, which allows remote attackers to bypass filtering rules and perform other attacks such as cross-site scripting (XSS) attacks via a single quote in a request parameter in the Content-Disposition field of a request with a multipart/form-data Content-Type header.
Timeline
ID reserved
By redhat
- 20 months later
· 20 months later
Published
- 12 years later
· 12 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 2.9% · top 13% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Affected products
n/a
- affected n/a
References
References11
- openSUSE-SU-2013:1342 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 54156 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- openSUSE-SU-2013:1331 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://www.suspekt.org/downloads/POC2009-ShockingNewsInPHPExploitation.pdf (opens in a new tab)x_refsource_MISCx_transferred
- http://mod-security.svn.sourceforge.net/viewvc/mod-security/m2/branches/2.6.x/CHANGES (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://blog.ivanristic.com/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20120621 Re: mod_security CVE request (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20120621 mod_security CVE request (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 49576 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://www.modsecurity.org/fisheye/browse/modsecurity/m2/branches/2.5.x/apache2/msc_multipart.c?r2=1419&r1=1366 (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2013:1336 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2009-4989 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2009-5031)Record last updated .