字号·· | 护眼
漏洞档案 · 严重

Apache HTTP Server 服务端请求伪造(CVE-2021-40438)

CVE-2021-40438 别名:GHSA-RWXQ-58VM-3V2J、DEBIAN-CVE-2021-40438
CVSS 9.0 / 3.1 EPSS 100.0% CISA KEV 在野利用 勒索软件利用 公开 PoC · 8 Nuclei 模板
综合风险100/ 100
CVSS9.0严重
EPSS100.0%30 天利用概率
机构收录时间2021-09-16更新 2026-12-01

研判简报

概述

Apache HTTP Server 的 mod_proxy 组件存在服务端请求伪造(SSRF)缺陷:攻击者可通过构造特制的 request uri-path,使 mod_proxy 将请求转发到由远程用户选定的源站服务器。该漏洞影响 Apache HTTP Server 2.4.48 及更早版本,属于 CWE-918。由于 Apache 广泛部署于对外服务场景,攻击者可借此访问内网资源或云元数据等敏感端点,风险面大。

严重性

CVSS 3.1 评分 9.0(critical),综合风险分 100.0/100;EPSS 30 天利用概率 100.0%(百分位 100.0%,日期 2026-11-24)。攻击面为面向公网、启用 mod_proxy 的 Apache HTTP Server 实例。

利用状态

CISA KEV 已收录(2021-12-01),已知被勒索软件利用;存在公开 Exploit-DB/公开 PoC(6 条)与 Nuclei 检测模板(http/cves/2021/CVE-2021-40438.yaml)。CISA SSVC 判定:automatable=yes / exploitation=active / technical_impact=total。以上状态核查日期为 2026-11-24。

受影响产品

Apache Software Foundation Apache HTTP Server,版本区间 >= 2.4 <= 2.4.48;涉及组件为 mod_proxy。部署形态材料未给出,但对外暴露且启用代理功能的实例应重点关注。

修复版本

官方记录显示该问题影响 2.4.48 及更早版本;参考材料(Nuclei 模板)建议升级至 Apache 2.4.49 或更高版本。官方修复版本的确切发布信息以厂商公告为准,材料未给出更细的补丁编号。

缓解措施

KEV 要求动作:按厂商说明应用更新(期限 2021-12-15)。若不能立即修复,材料未给出具体替代缓解动作;可参考官方公告与模板信息评估是否限制 mod_proxy 对外暴露面。

响应步骤

  1. 盘点对外暴露的 Apache HTTP Server 实例,确认版本是否落在 2.4 至 2.4.48 区间。
  2. 核查是否启用 mod_proxy 及相关代理配置,评估可被外部触达的代理路径。
  3. 按厂商公告升级至修复版本(参考材料指向 2.4.49 或更高)。
  4. 使用公开 Nuclei 模板(http/cves/2021/CVE-2021-40438.yaml)进行检测验证。
  5. 关注 KEV 期限(2021-12-15)与勒索软件利用情报,优先处置公网资产。
  6. 排查代理日志中异常 uri-path 与外部源站转发行为,留存证据。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2021-40438kev
  2. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40438.yamlexploit,nuclei
  3. https://httpd.apache.org/security/vulnerabilities_24.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  4. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPBR6WUYBJNACHKE65SPL7TJOHX7RHWD/vendor-advisory,x_refsource_FEDORA,vendor-advisory,x_refsource_FEDORA,x_transfer
  5. https://lists.apache.org/thread.html/r82838efc5fa6fc4c73986399c9b71573589f78b31846aff5bd9b1697%40%3Cusers.httpd.apache.org%3Emailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,advi
  6. https://lists.apache.org/thread.html/r82c077663f9759c7df5a6656f925b3ee4f55fcd33c889ba7cd687029%40%3Cusers.httpd.apache.org%3Emailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,advi
  7. https://lists.apache.org/thread.html/r3925e167d5eb1c75def3750c155d753064e1d34a143028bb32910432%40%3Cusers.httpd.apache.org%3Emailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,advi
  8. https://lists.apache.org/thread.html/r61fdbfc26ab170f4e6492ef3bd5197c20b862ce156e9d5a54d4b899c%40%3Cusers.httpd.apache.org%3Emailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,advi
  9. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNCYSR3BXT36FFF4XTCPL3HDQK4VP45R/vendor-advisory,x_refsource_FEDORA,vendor-advisory,x_refsource_FEDORA,x_transfer
  10. https://lists.debian.org/debian-lts-announce/2021/10/msg00001.htmlmailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,advi
  11. https://lists.apache.org/thread.html/r2eb200ac1340f69aa22af61ab34780c531d110437910cb9c0ece3b37%40%3Cbugs.httpd.apache.org%3Emailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,advi
  12. https://www.debian.org/security/2021/dsa-4982vendor-advisory,x_refsource_DEBIAN,vendor-advisory,x_refsource_DEBIAN,x_transfer
  13. https://lists.apache.org/thread.html/r210807d0bb55f4aa6fbe1512be6bcc4dacd64e84940429fba329967a%40%3Cusers.httpd.apache.org%3Emailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,advi
  14. https://lists.apache.org/thread.html/rf6954e60b1c8e480678ce3d02f61b8a788997785652e9557a3265c00%40%3Cusers.httpd.apache.org%3Emailing-list,x_refsource_MLIST,mailing-list,x_refsource_MLIST,x_transferred,advi
  15. https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-httpd-2.4.49-VWL69sWQvendor-advisory,x_refsource_CISCO,vendor-advisory,x_refsource_CISCO,x_transferre
  16. https://www.oracle.com/security-alerts/cpujan2022.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd