CVE-2023-24021 Incorrect handling of '\0' bytes in file uploads in ModSecurity before 2.9.7 may allow for Web Application Firewall bypasses and buffer over-reads on the Web Application Firewall when executing rules....
HighCVSS 7.5
EPSS 0.97%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianNetwork Appliances
Description
Incorrect handling of '\0' bytes in file uploads in ModSecurity before 2.9.7 may allow for Web Application Firewall bypasses and buffer over-reads on the Web Application Firewall when executing rules that read the FILES_TMP_CONTENT collection.
Upgrade path
10 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/modsecurity-apache(Debian 12) | < 2.9.7-1 | 2.9.7-1 | Fixed |
| debian/modsecurity-apache(Debian 13) | < 2.9.7-1 | 2.9.7-1 | Fixed |
| debian/modsecurity-apache(Debian 14) | < 2.9.7-1 | 2.9.7-1 | Fixed |
| trustwave modsecurity | < 2.9.7 | 2.9.7 | Fixed |
| ubuntu/modsecurity-apache(Ubuntu 20.04) | < 2.9.3-1ubuntu0.1; = 2.9.3-1 | 2.9.3-1ubuntu0.1 | Fixed |
| ubuntu/modsecurity-apache(Ubuntu 22.04) | < 2.9.5-1ubuntu0.1~esm1 | 2.9.5-1ubuntu0.1~esm1 | Fixed |
| ubuntu/modsecurity-apache(Ubuntu Pro 16.04) | < 2.9.0-1ubuntu0.1~esm1; = 2.9.0-1 | 2.9.0-1ubuntu0.1~esm1 | Fixed |
| ubuntu/modsecurity-apache(Ubuntu Pro 18.04) | < 2.9.2-1ubuntu0.1~esm1; = 2.9.1-3; = 2.9.2-1 | 2.9.2-1ubuntu0.1~esm1 | Fixed |
| ubuntu/modsecurity-apache(Ubuntu Pro 22.04) | < 2.9.5-1ubuntu0.1~esm1; = 2.9.3-3; = 2.9.5-1 | 2.9.5-1ubuntu0.1~esm1 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/modsecurity-apache(Debian:12) | < 2.9.7-1 | 2.9.7-1 |
| debian/modsecurity-apache(Debian:13) | < 2.9.7-1 | 2.9.7-1 |
| debian/modsecurity-apache(Debian:14) | < 2.9.7-1 | 2.9.7-1 |
| ubuntu/modsecurity-apache(Ubuntu:22.04) | < 2.9.5-1ubuntu0.1~esm1 | 2.9.5-1ubuntu0.1~esm1 |
| trustwave modsecurity | < 2.9.7 | 2.9.7 |
| debian linux | = 10.0 | No fix listed |
| ubuntu/modsecurity-apache(Ubuntu:Pro:16.04) | < 2.9.0-1ubuntu0.1~esm1 | 2.9.0-1ubuntu0.1~esm1 |
| ubuntu/modsecurity-apache(Ubuntu:Pro:16.04) | = 2.9.0-1 | No fix listed |
| ubuntu/modsecurity-apache(Ubuntu:Pro:18.04) | < 2.9.2-1ubuntu0.1~esm1 | 2.9.2-1ubuntu0.1~esm1 |
| ubuntu/modsecurity-apache(Ubuntu:Pro:18.04) | = 2.9.1-3 | No fix listed |
| ubuntu/modsecurity-apache(Ubuntu:Pro:18.04) | = 2.9.2-1 | No fix listed |
| ubuntu/modsecurity-apache(Ubuntu:20.04) | < 2.9.3-1ubuntu0.1 | 2.9.3-1ubuntu0.1 |
| ubuntu/modsecurity-apache(Ubuntu:20.04) | = 2.9.3-1 | No fix listed |
| ubuntu/modsecurity-apache(Ubuntu:Pro:22.04) | < 2.9.5-1ubuntu0.1~esm1 | 2.9.5-1ubuntu0.1~esm1 |
| ubuntu/modsecurity-apache(Ubuntu:Pro:22.04) | = 2.9.3-3 | No fix listed |
| ubuntu/modsecurity-apache(Ubuntu:Pro:22.04) | = 2.9.5-1 | No fix listed |
References
- Debian Security Tracker CVE-2023-24021 vendor-advisory
- github.com issue-tracking release-notes
- github.com issue-tracking patch
- github.com issue-tracking patch
- [debian-lts-announce] 20230126 [SECURITY] [DLA 3283-1] modsecurity-apache security update mailing-list third-party-advisory
- FEDORA-2023-8aa264d5c5 vendor-advisory
- FEDORA-2023-09f0496e60 vendor-advisory
- FEDORA-2023-bc61f7a145 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6370-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- github.com issue-tracking