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) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
modsecurity-apache (PTS) | 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.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libapache-mod-security | source | (unstable) | 2.5.12-1 | |||
modsecurity-apache | source | (unstable) | (not affected) |
- 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