CVE-2024-38475
Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.
描述
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.
如何修補 CVE-2024-38475
要修補 CVE-2024-38475,請將受影響套件升級到下列已修補版本。
- —升級至 2.4.60-r0 或更新版本
- —升級至 2.4.60 或更新版本
- —升級至 2.4.61-1~deb11u1 或更新版本
CVE-2024-38475 正在被利用嗎?
是 — CVE-2024-38475 已列入 CISA Known Exploited Vulnerabilities (KEV) 清單,代表正在被實際利用,請立即修補。
受影響套件(3)
- from 0, < 2.4.60-r0
- >= 2.4.0, < 2.4.60
- from 0, < 2.4.61-1~deb11u1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |