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

GNU Bash 远程代码执行漏洞(CVE-2014-6271)

CVE-2014-6271 别名:GHSA-6HFC-GRWP-2P9C
CVSS 9.8 / 3.1 EPSS 100.0% CISA KEV 在野利用 公开 PoC · 63 Nuclei 模板
综合风险96/ 100
CVSS9.8严重
EPSS100.0%30 天利用概率
机构收录时间2014-09-25更新 2026-12-03

研判简报

概述

该漏洞被称为 ShellShock,源于 GNU Bash 在处理环境变量中函数定义后的尾随字符串时存在逻辑缺陷。远程攻击者可通过构造恶意的环境变量,在 Bash 执行时触发任意代码执行,影响范围涵盖 OpenSSH、Apache mod_cgi 等多种服务。任何运行受影响 Bash 版本的系统管理员及安全团队均需高度关注。

严重性

CVSS 3.1 评分为 9.8(Critical),综合风险分 96.2/100。攻击面为网络远程,无需身份验证,且利用难度较低,具备完全的机密性、完整性与可用性影响。

利用状态

截至 2026-11-24,该漏洞已被 CISA KEV 收录,利用状态为活跃(Active)。存在 63 条公开的 Exploit-DB PoC,且已有对应的 Nuclei 检测模板(http/cves/2014/CVE-2014-6271.yaml)可用于自动化扫描。

受影响产品

受影响产品包括 GNU Bash(<=4.3)以及多种集成该组件的系统,包括但不限于:Arista EOS(多个版本区间)、Oracle Linux(4/5/6)、QNAP QTS(<=4.1.1)、Mageia(3.0/4.0)以及 Red Hat Enterprise Linux 系列(包括 EUS、IBM Z Systems、Power 等架构版本)。

修复版本

官方已发布的修复版本包括:Arista EOS 4.9.12、4.10.9、4.11.11、4.12.9、4.13.9、4.14.4f 以及 QNAP QTS 4.1.1。其余受影响的 Red Hat 及 Oracle Linux 发行版请参考厂商发布的对应安全补丁。

缓解措施

材料未给出具体的临时缓解措施。建议优先通过厂商渠道获取并安装官方补丁。

响应步骤

  1. 资产盘点:识别环境中运行 Bash 的所有服务器及网络设备,重点排查暴露在公网的 CGI 脚本及 SSH 服务。
  2. 漏洞扫描:使用 Nuclei 模板或相关安全工具对存量资产进行批量检测。
  3. 补丁更新:根据 CISA KEV 要求,尽快应用厂商提供的安全更新。
  4. 异常监控:检查系统日志中是否存在异常的环境变量注入尝试(如包含 () { 字符的请求)。
  5. 验证修复:补丁安装后,通过 PoC 验证漏洞是否已成功修复。
  6. 持续跟踪:注意该漏洞存在后续修复不完全的情况(如 CVE-2014-7169),确保系统已应用完整的补丁序列。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2014-6271kev
  2. https://www.exploit-db.com/exploits/38849exploit,exploitdb
  3. https://www.exploit-db.com/exploits/34777exploit,exploitdb
  4. https://www.exploit-db.com/exploits/39918exploit,exploitdb
  5. https://www.exploit-db.com/exploits/34895exploit,exploitdb
  6. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2014/CVE-2014-6271.yamlexploit,nuclei
  7. https://www.exploit-db.com/exploits/37816/exploit,x_refsource_EXPLOIT-DB,exploit,x_refsource_EXPLOIT-DB,x_transferred,advi
  8. http://packetstormsecurity.com/files/128517/VMware-Security-Advisory-2014-0010.htmlx_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  9. http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00034.htmlvendor-advisory,x_refsource_SUSE,vendor-advisory,x_refsource_SUSE,x_transferred,
  10. http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  11. http://www-01.ibm.com/support/docview.wss?uid=swg21685749x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  12. http://marc.info/?l=bugtraq&m=141577137423233&w=2vendor-advisory,x_refsource_HP,vendor-advisory,x_refsource_HP,x_transferred,advi
  13. http://marc.info/?l=bugtraq&m=142719845423222&w=2vendor-advisory,x_refsource_HP,vendor-advisory,x_refsource_HP,x_transferred,advi
  14. https://www.exploit-db.com/exploits/39918/exploit,x_refsource_EXPLOIT-DB,exploit,x_refsource_EXPLOIT-DB,x_transferred,advi
  15. http://marc.info/?l=bugtraq&m=141216668515282&w=2vendor-advisory,x_refsource_HP,vendor-advisory,x_refsource_HP,x_transferred,advi
  16. http://rhn.redhat.com/errata/RHSA-2014-1295.htmlvendor-advisory,x_refsource_REDHAT,vendor-advisory,x_refsource_REDHAT,x_transfer