CVE-2009-5031 json
ModSecurity before 2.5.11 treats request parameter values containing single quotes as files, which allows remote attackers to bypass filter…
published 14y ago modified 4mo ago also EUVD-2009-4989
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- trustwave modsecurity 2.5.11
- apache2-mod_security2 openSUSE Tumbleweed 2.9.0-5.6
opensuse advisories openSUSE-SU-2024:10034-1
Is CVE-2009-5031 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.93% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
lists.opensuse.org
/opensuse-updates/2013-08/msg00031.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2013-08/msg00020.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2013-08/msg00025.html
vendor-advisory, mailing-list, third-party-advisory
-
securityfocus.com
/bid/54156
vdb-entry, third-party-advisory
-
suspekt.org
/downloads/POC2009-ShockingNewsInPHPExploitation.pdf
third-party-advisory
-
mod-security.svn.sourceforge.net
/viewvc/mod-security/m2/branches/2.6.x/CHANGES
broken-link
-
blog.ivanristic.com
/2012/06/modsecurity-and-modsecurity-core-rule-set-multipart-bypasses.html
third-party-advisory
-
openwall.com
/lists/oss-security/2012/06/22/2
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2012/06/22/1
mailing-list, third-party-advisory
-
secunia.com
/advisories/49576
third-party-advisory
-
modsecurity.org
/fisheye/browse/modsecurity/m2/branches/2.5.x/apache2/msc_multipart.c?r2=1419&r1=1366
broken-link
Sources
- CVE List CVE-2009-5031
- NVD CVE-2009-5031
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.