9.1
CRITICAL
CVE-2024-38475
Apache HTTP Server mod_rewrite Parameter Injection Remote Code Execution
Description

Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected.  Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.

INFO

Published Date :

July 1, 2024, 7:15 p.m.

Last Modified :

Nov. 21, 2024, 9:26 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.2

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2024-38475 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-38475 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 Apache http_server

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).

exploit CVE-2024-38475(mod_rewrite weakness with filesystem path matching)

Python

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Dec. 12, 2024, 10:23 a.m. This repo has been linked 1 different CVEs too.

Apache Web Server Vulnerabilities list

apache cve vulnerabilities

Updated: 3 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : Nov. 30, 2024, 7:36 p.m. This repo has been linked 47 different CVEs too.

Apache HTTP Server Vulnerability Testing Tool | PoC for CVE-2024-38472 , CVE-2024-39573 , CVE-2024-38477 , CVE-2024-38476 , CVE-2024-38475 , CVE-2024-38474 , CVE-2024-38473 , CVE-2023-38709

apache apache2 cve-2023-3870 cve-2024-38472 cve-2024-38473 cve-2024-38474 cve-2024-38475 cve-2024-38476 cve-2024-38477 cve-2024-39573

Python

Updated: 1 month ago
12 stars 4 fork 4 watcher
Born at : Oct. 5, 2024, 8:32 p.m. This repo has been linked 8 different CVEs too.

None

Python

Updated: 2 weeks, 6 days ago
4 stars 2 fork 2 watcher
Born at : Aug. 18, 2024, 11:30 a.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 2 weeks, 6 days ago
6566 stars 1140 fork 1140 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 958 different CVEs too.

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

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

  • TheCyberThrone
SonicWall addressed half a dozen vulnerabilities in SMA 100 series

SonicWall has released patches for several (six) vulnerabilities impacting its SMA 100 series SSL-VPN products. These flaws range from path traversal issues inherited from the Apache HTTP Server to cr ... Read more

Published Date: Dec 07, 2024 (2 weeks, 5 days ago)
  • Cyber Security News
Confusion Attacks in Apache HTTP Server Let Attackers Gain Root Access Remotely

A recent research presentation at Black Hat USA 2024 revealed architectural vulnerabilities within the Apache HTTP Server, a widely used web server software. The research highlights several technical ... Read more

Published Date: Aug 09, 2024 (4 months, 2 weeks ago)

The following table lists the changes that have been made to the CVE-2024-38475 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2024/07/01/8
    Added Reference https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf
    Added Reference https://httpd.apache.org/security/vulnerabilities_24.html
    Added Reference https://security.netapp.com/advisory/ntap-20240712-0001/
    Added Reference https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227
  • CVE Modified by [email protected]

    Jul. 12, 2024

    Action Type Old Value New Value
    Added Reference Apache Software Foundation https://security.netapp.com/advisory/ntap-20240712-0001/ [No types assigned]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 08, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • CVE Received by [email protected]

    Jul. 01, 2024

    Action Type Old Value New Value
    Added Description Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected.  Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.
    Added Reference Apache Software Foundation https://httpd.apache.org/security/vulnerabilities_24.html [No types assigned]
    Added CWE Apache Software Foundation CWE-116
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-2024-38475 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-2024-38475 weaknesses.

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