Name | CVE-2009-5031 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
modsecurity-apache (PTS) | jessie, jessie (lts) | 2.8.0-3+deb8u2 | fixed |
| stretch (security) | 2.9.1-2+deb9u1 | fixed |
| stretch (lts), stretch | 2.9.1-2+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 2.9.3-1+deb10u2 | fixed |
| bullseye | 2.9.3-3+deb11u2 | fixed |
| bullseye (security) | 2.9.3-3+deb11u1 | fixed |
| bookworm | 2.9.7-1 | fixed |
| sid, trixie | 2.9.8-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
- modsecurity-apache <not-affected> (Fixed before initial upload)
https://www.modsecurity.org/fisheye/browse/modsecurity/m2/branches/2.5.x/apache2/msc_multipart.c?r2=1419&r1=1366
https://www.openwall.com/lists/oss-security/2012/06/22/1
https://www.openwall.com/lists/oss-security/2012/06/22/2