Apache HTTP Server 源代码泄露漏洞(CVE-2024-39884)
CVE编号
CVE-2024-39884利用情况
暂无补丁情况
N/A披露时间
2024-07-04漏洞描述
Apache HTTP Server 是美国阿帕奇(Apache)基金会的一款开源网页服务器,ap_set_content_type 函数用于设置请求的content-type。 Apache HTTP Server 的 2.4.60 版本中 ap_set_content_type 函数未正确校验content-type的来源,在某些间接请求文件的情况下,AddType及类似配置会导致本地脚本文件的内容泄露,攻击者可能利用该漏洞获取php等脚本语言源代码。 修复版本通过替换函数 ap_set_content_type 为 ap_set_content_type_ex,并增加额外的参数,确保content-type被正确地识别和处理,从而避免PHP脚本等内容未经解析直接输出。解决建议
"将组件 http_server 升级至 2.4.61 及以上版本""将组件 apache2 升级至 2.4.61-1 及以上版本"
参考链接 |
|
---|---|
https://httpd.apache.org/security/vulnerabilities_24.html |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
系统 | alpine_3.17 | apache2 | * | Up to (excluding) 2.4.61-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | apache2 | * | Up to (excluding) 2.4.61-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.19 | apache2 | * | Up to (excluding) 2.4.61-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.20 | apache2 | * | Up to (excluding) 2.4.61-r0 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | apache2 | * | Up to (excluding) 2.4.59-1~deb11u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | apache2 | * | Up to (excluding) 2.4.59-1~deb12u1 | |||||
- 攻击路径 N/A
- 攻击复杂度 N/A
- 权限要求 N/A
- 影响范围 N/A
- 用户交互 N/A
- 可用性 N/A
- 保密性 N/A
- 完整性 N/A
CWE-ID | 漏洞类型 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论