字号·· | 护眼
漏洞档案 · 高危

GNU Bash 环境变量函数定义解析不当(CVE-2014-6278)

CVE-2014-6278 别名:GHSA-6493-28FJ-F93W、DEBIAN-CVE-2014-6278
CVSS 8.8 / 3.1 EPSS 99.7% CISA KEV 在野利用 公开 PoC · 5
综合风险87/ 100
CVSS8.8高危
EPSS99.7%30 天利用概率
机构收录时间2014-09-30更新 2026-12-03

研判简报

概述

GNU Bash 至 4.3 bash43-026 版本未能正确解析环境变量值中的函数定义,远程攻击者可通过构造环境变量执行任意命令。该漏洞是 CVE-2014-6271、CVE-2014-7169、CVE-2014-6277 修复不完整所致,属于 Shellshock 系列。典型触发面包括 OpenSSH sshd 的 ForceCommand、Apache HTTP Server 的 mod_cgi/mod_cgid、部分 DHCP 客户端脚本,以及其他跨权限边界设置环境后再调用 Bash 的场景。凡在 CGI、SSH 强制命令、DHCP 钩子等路径中调用 Bash 的运维与安全团队都应关注。

严重性

CVSS 3.1 评分 8.8(high),综合风险分 89.15/100;攻击面为跨权限边界传递构造环境变量后触发 Bash 解析,导致任意命令执行,技术影响为 total。

利用状态

截至核查日期 2026-11-24:已收录 CISA KEV(收录日期 2025-10-02,要求动作期限 2025-10-23);EPSS 30 天利用概率 99.7%(百分位 100.0%);Exploit-DB/公开 PoC 共 5 条;CISA SSVC 判定 exploitation=active、automatable=no、technical_impact=total。勒索软件关联状态材料未给出;Nuclei 模板状态材料未给出。

受影响产品

GNU Bash through 4.3 bash43-026(官方记录原文表述);受影响组件与部署形态材料未给出(记录中受影响版本字段为 n/a n/a)。触发场景涉及 OpenSSH sshd、Apache HTTP Server mod_cgi/mod_cgid、部分 DHCP 客户端脚本等跨权限边界设置环境的位置。

修复版本

材料未给出官方修复版本或补丁号。

缓解措施

按 KEV 要求执行厂商指引的缓解措施,云服务遵循适用的 BOD 22-01 指引;若无可用缓解措施则应停用该产品。参考材料中 IBM、Check Point 的支持文档链接可作为厂商侧处置参考,具体缓解内容材料未给出。通用方向(材料未明确列出具体操作):减少 CGI/SSH ForceCommand 等路径对环境变量的透传、避免跨信任边界调用 Bash。

响应步骤

  1. 盘点暴露面:排查通过 CGI、SSH ForceCommand、DHCP 钩子等跨权限边界调用 Bash 的资产。
  2. 核查版本:确认 Bash 版本是否处于 through 4.3 bash43-026 区间。
  3. 按 KEV 期限要求落实厂商缓解指引或停用受影响组件,并记录处置结果。
  4. 检索公开 PoC(Exploit-DB 39887、39568、34900、36933)用于验证检测规则与 WAF/IDS 覆盖。
  5. 监控 T1059(命令与脚本解释器)与 T1190(利用面向公众应用)相关告警,复核异常环境变量与子进程调用。
  6. 关注厂商后续修复版本发布,材料未给出时持续跟踪官方公告。

参考来源

  1. https://www.exploit-db.com/exploits/39887exploit,exploitdb
  2. https://www.exploit-db.com/exploits/39568exploit,exploitdb
  3. https://www.exploit-db.com/exploits/34900exploit,exploitdb
  4. https://www.exploit-db.com/exploits/36933exploit,exploitdb
  5. http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  6. http://www-01.ibm.com/support/docview.wss?uid=swg21685749x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  7. http://marc.info/?l=bugtraq&m=141577137423233&w=2vendor-advisory,x_refsource_HP,vendor-advisory,x_refsource_HP,x_transferred,advi
  8. https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlertsx_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  9. http://linux.oracle.com/errata/ELSA-2014-3093x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  10. http://marc.info/?l=bugtraq&m=142721162228379&w=2vendor-advisory,x_refsource_HP,vendor-advisory,x_refsource_HP,x_transferred,advi
  11. http://marc.info/?l=bugtraq&m=142358026505815&w=2vendor-advisory,x_refsource_HP,vendor-advisory,x_refsource_HP,x_transferred,advi
  12. http://www-01.ibm.com/support/docview.wss?uid=swg21686479x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  13. http://jvn.jp/en/jp/JVN55667175/index.htmlthird-party-advisory,x_refsource_JVN,third-party-advisory,x_refsource_JVN,x_tran
  14. http://secunia.com/advisories/60433third-party-advisory,x_refsource_SECUNIA,third-party-advisory,x_refsource_SECUNI
  15. http://marc.info/?l=bugtraq&m=141383026420882&w=2vendor-advisory,x_refsource_HP,vendor-advisory,x_refsource_HP,x_transferred,advi
  16. http://marc.info/?l=bugtraq&m=141585637922673&w=2vendor-advisory,x_refsource_HP,vendor-advisory,x_refsource_HP,x_transferred,advi