Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-38475— Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.

Quick assessment

Affected
Apache Software Foundation Apache HTTP Server
Exploitation
Confirmed exploitation in the wild; remediate immediately
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Apache HTTP Server是美国阿帕奇(Apache)基金会的一款开源网页服务器。该服务器具有快速、可靠且可通过简单的API进行扩充的特点。 Apache HTTP Server 2.4.59及之前版本存在安全漏洞,该漏洞源于输出转义不当,允许攻击者将URL映射无法通过任何URL直接访问的文件系统位置,从而导致代码执行或源代码泄露。

AI Predicted 9.8 Difficulty: Easy KEV EPSS 99.96% · P100

Public Exploits 1

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-38475

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
对输出编码和转义不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Apache HTTP Server 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Apache HTTP Server是美国阿帕奇(Apache)基金会的一款开源网页服务器。该服务器具有快速、可靠且可通过简单的API进行扩充的特点。 Apache HTTP Server 2.4.59及之前版本存在安全漏洞,该漏洞源于输出转义不当,允许攻击者将URL映射无法通过任何URL直接访问的文件系统位置,从而导致代码执行或源代码泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
Apache Software Foundation Apache HTTP Server 2.4.0 ~ 2.4.59 -

II. Public POCs for CVE-2024-38475

# POC Description Source Link Shenlong Link
1 None https://github.com/p0in7s/CVE-2024-38475 POC Details
2 exploit CVE-2024-38475(mod_rewrite weakness with filesystem path matching) https://github.com/soltanali0/CVE-2024-38475 POC Details
3 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38475.yaml POC Details
4 CVE-2024-38475 Scanner using FFUF + Seclists https://github.com/syaifulandy/CVE-2024-38475 POC Details
5 None https://github.com/abrewer251/CVE-2024-38475_SonicBoom_Apache_URL_Traversal_PoC POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-38475

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-38475 (2)

Same Patch Batch · Apache Software Foundation · 2024-07-01 · 8 CVEs total

CVE-2024-36387 Apache HTTP Server: DoS by Null pointer in websocket over HTTP/2
CVE-2024-38472 Apache HTTP Server on WIndows UNC SSRF
CVE-2024-38473 Apache HTTP Server proxy encoding problem
CVE-2024-38474 Apache HTTP Server weakness with encoded question marks in backreferences
CVE-2024-38476 Apache HTTP Server may use exploitable/malicious backend application output to run local h
CVE-2024-38477 Apache HTTP Server: Crash resulting in Denial of Service in mod_proxy via a malicious requ
CVE-2024-39573 Apache HTTP Server: mod_rewrite proxy handler substitution

IV. Related Vulnerabilities

V. Comments for CVE-2024-38475

No comments yet


Leave a comment