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…
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.93% (FIRST EPSS); higher than 61.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: modsecurity-apache (Debian:10) 2.9.3-1+deb10u2; modsecurity-apache (Debian:12) 2.9.7-1; apache2-mod_security2 (openSUSE:Leap 15.4) 2.9.4-150400.3.6.1.
Low priority for now. Upgrade to modsecurity-apache (Debian:10) 2.9.3-1+deb10u2; modsecurity-apache (Debian:12) 2.9.7-1; apache2-mod_security2 (openSUSE:Leap 15.4) 2.9.4-150400.3.6.1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jan 20, 2023
- Updated
- Jun 17, 2026
- EPSS
- 0.9% · 61th percentile
- CWE
- CWE-170
Report tools
Action score
30
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.9%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| trustwave | modsecurity | cpe:2.3:a:trustwave:modsecurity |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- trustwave modsecuritybefore 2.9.7
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:10 | modsecurity-apache | before 2.9.3-1+deb10u2 | 2.9.3-1+deb10u2 |
| Debian:12 | modsecurity-apache | before 2.9.7-1 | 2.9.7-1 |
| openSUSE:Leap 15.4 | apache2-mod_security2 | before 2.9.4-150400.3.6.1 | 2.9.4-150400.3.6.1 |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr | before 0:1.7.0-8.el7jbcs | 0:1.7.0-8.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-debuginfo | before 0:1.7.0-8.el7jbcs | 0:1.7.0-8.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-apr-devel | before 0:1.7.0-8.el7jbcs | 0:1.7.0-8.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-curl | before 0:8.2.1-1.el7jbcs | 0:8.2.1-1.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-curl-debuginfo | before 0:8.2.1-1.el7jbcs | 0:8.2.1-1.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd | before 0:2.4.57-5.el7jbcs | 0:2.4.57-5.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-debuginfo | before 0:2.4.57-5.el7jbcs | 0:2.4.57-5.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-devel | before 0:2.4.57-5.el7jbcs | 0:2.4.57-5.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-manual | before 0:2.4.57-5.el7jbcs | 0:2.4.57-5.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-selinux | before 0:2.4.57-5.el7jbcs | 0:2.4.57-5.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-httpd-tools | before 0:2.4.57-5.el7jbcs | 0:2.4.57-5.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-libcurl | before 0:8.2.1-1.el7jbcs | 0:8.2.1-1.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-libcurl-devel | before 0:8.2.1-1.el7jbcs | 0:8.2.1-1.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_ldap | before 0:2.4.57-5.el7jbcs | 0:2.4.57-5.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_proxy_html | before 1:2.4.57-5.el7jbcs | 1:2.4.57-5.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_security | before 0:2.9.3-29.el7jbcs | 0:2.9.3-29.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_security-debuginfo | before 0:2.9.3-29.el7jbcs | 0:2.9.3-29.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_session | before 0:2.4.57-5.el7jbcs | 0:2.4.57-5.el7jbcs |
| Red Hat:jboss_core_services:1::el7 | jbcs-httpd24-mod_ssl | before 1:2.4.57-5.el7jbcs | 1:2.4.57-5.el7jbcs |
| Red Hat:jboss_core_services:1::el8 | jbcs-httpd24-apr | before 0:1.7.0-8.el8jbcs | 0:1.7.0-8.el8jbcs |
| Red Hat:jboss_core_services:1::el8 | jbcs-httpd24-apr-debuginfo | before 0:1.7.0-8.el8jbcs | 0:1.7.0-8.el8jbcs |
+25
Same product
trustwave: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-27110Libmodsecurity3 has possible bypass of encoded HTML entities31Monitor
- CVE-2013-1915ModSecurity before 2.7.3 allows remote attackers to read arbitrary files, send HTTP requests to intranet servers, or cause a denial of…31Monitor
- CVE-2025-47947ModSecurity Has Possible DoS Vulnerability30Monitor
Published before and after this one in the same product
- ← EarlierCVE-2012-4528Dec 28, 2012 · The mod_security2 module before 2.7.0 for the Apache HTTP Server allows remote attackers to bypass rules, and deliver arbitrary POST data…24Monitor
- ← EarlierCVE-2013-5705Apr 15, 2014 · apache2/modsecurity.c in ModSecurity before 2.7.6 allows remote attackers to bypass rules by using chunked transfer coding with a…21Monitor
- Later →CVE-2024-46292Oct 9, 2024 · A buffer overflow in modsecurity v3.0.12 allows attackers to cause a Denial of Service (DoS) via a crafted input inserted into the name…30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:modsecurity-apache | 2.9.7-1 · Debian:12 | Package registry (OSV) |
| opensuse:apache2-mod_security2 | 2.9.4-150400.3.6.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr | 0:1.7.0-8.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-debuginfo | 0:1.7.0-8.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-apr-devel | 0:1.7.0-8.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd | 0:2.4.57-5.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-debuginfo | 0:2.4.57-5.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-devel | 0:2.4.57-5.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-manual | 0:2.4.57-5.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-selinux | 0:2.4.57-5.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-httpd-tools | 0:2.4.57-5.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-mod_ldap | 0:2.4.57-5.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-mod_proxy_html | 1:2.4.57-5.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| red hat:jbcs-httpd24-mod_session | 0:2.4.57-5.el7jbcs · Red Hat:jboss_core_services:1::el7 | Package registry (OSV) |
| suse:apache2-mod_security2 | 2.9.4-150400.3.6.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-170 · Improper Null TerminationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334
- github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7
- lists.debian.org/debian-lts-announce/2023/01/msg00023.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52TGCZCOHYBDCVWJYNN2PS4QLOHCXWTQ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYRTXTOQQI6SB2TLI5QXU76DURSLS4XI/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCH6JM4I4MD4YABYFHSBDDOUFDGIFJKL/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.