SecurityContext

CVE-2023-24021: ModSecurity - Security Bypass & Denial of Service

  • Cve: CVE-2023-24021
  • Name: ModSecurity - Security Bypass & Denial of Service
  • 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.
  • Impact: Attackers can bypass WAF protections and cause buffer over-reads, potentially leading to security bypass and denial of service.
  • Remediation: Update to version 2.9.7 or later.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00974
  • Epss percentile: 0.62797
  • Assignee: [email protected]
  • Published at: 2023-01-20T19:15:18Z
  • Age in days: 1404
  • Modified at: 2026-06-17T05:38:29Z
  • Patch available: yes
  • References total: 7
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-24021
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-Other—
CWE-170Improper Null Termination

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/SpiderLabs/ModSecurity/pull/2857Issue Tracking, Patch
https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334Patch
https://lists.debian.org/debian-lts-announce/2023/01/msg00023.htmlMailing List, Third Party Advisory
https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52TGCZCOHYBDCVWJYNN2PS4QLOHCXWTQ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYRTXTOQQI6SB2TLI5QXU76DURSLS4XI/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCH6JM4I4MD4YABYFHSBDDOUFDGIFJKL/

Products

ProductAffectedPlatform boundSourcesUrl
trustwave:modsecurity< 2.9.7nonvd/v1/products/trustwave/modsecurity
debian:debian_linux= 10.0nonvd/v1/products/debian/debian_linux

Projects

RepositoryLink kindsIndexedUrl
spiderlabs/modsecuritypull, releasesyes/v1/repositories/spiderlabs/modsecurity

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports