7.5
HIGH
CVE-2023-24021
ModSecurity Web Application Firewall Deliberate Buffer Overflow
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.

INFO

Published Date :

Jan. 20, 2023, 7:15 p.m.

Last Modified :

Nov. 7, 2023, 4:08 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2023-24021 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Trustwave modsecurity

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-24021 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-24021 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WCH6JM4I4MD4YABYFHSBDDOUFDGIFJKL/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/52TGCZCOHYBDCVWJYNN2PS4QLOHCXWTQ/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYRTXTOQQI6SB2TLI5QXU76DURSLS4XI/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/SYRTXTOQQI6SB2TLI5QXU76DURSLS4XI/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/WCH6JM4I4MD4YABYFHSBDDOUFDGIFJKL/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/52TGCZCOHYBDCVWJYNN2PS4QLOHCXWTQ/
  • CVE Modified by [email protected]

    Apr. 22, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/SYRTXTOQQI6SB2TLI5QXU76DURSLS4XI/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/WCH6JM4I4MD4YABYFHSBDDOUFDGIFJKL/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/52TGCZCOHYBDCVWJYNN2PS4QLOHCXWTQ/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 06, 2023

    Action Type Old Value New Value
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://github.com/SpiderLabs/ModSecurity/pull/2857 Issue Tracking, Patch, Third Party Advisory https://github.com/SpiderLabs/ModSecurity/pull/2857 Issue Tracking, Patch
    Changed Reference Type https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334 Patch, Third Party Advisory https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334 Patch
    Changed Reference Type https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7 Release Notes, Third Party Advisory https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7 Release Notes
  • CVE Modified by [email protected]

    Feb. 09, 2023

    Action Type Old Value New Value
    Changed Description Incorrect handling of '\0' bytes in file uploads in ModSecurity before 2.9.7 may allow for Web Application Firewall bypasses and buffer overflows on the Web Application Firewall when executing rules that read the FILES_TMP_CONTENT collection. 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.
  • Initial Analysis by [email protected]

    Jan. 30, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/SpiderLabs/ModSecurity/pull/2857 No Types Assigned https://github.com/SpiderLabs/ModSecurity/pull/2857 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334 No Types Assigned https://github.com/SpiderLabs/ModSecurity/pull/2857/commits/4324f0ac59f8225aa44bc5034df60dbeccd1d334 Patch, Third Party Advisory
    Changed Reference Type https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7 No Types Assigned https://github.com/SpiderLabs/ModSecurity/releases/tag/v2.9.7 Release Notes, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/01/msg00023.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/01/msg00023.html Mailing List, Third Party Advisory
    Added CWE NIST NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:a:trustwave:modsecurity:*:*:*:*:*:*:*:* versions up to (excluding) 2.9.7
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 26, 2023

    Action Type Old Value New Value
    Changed Description In ModSecurity before 2.9.7, FILES_TMP_CONTENT sometimes lacked the complete content. This can lead to a Web Application Firewall bypass. Incorrect handling of '\0' bytes in file uploads in ModSecurity before 2.9.7 may allow for Web Application Firewall bypasses and buffer overflows on the Web Application Firewall when executing rules that read the FILES_TMP_CONTENT collection.
    Added Reference https://lists.debian.org/debian-lts-announce/2023/01/msg00023.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-24021 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-24021 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.22 }} -0.01%

score

0.60090

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability