PoC Monitor
← All CVEs
CVE-2014-6278published 30 Sep 2014 10:00 UTCData: JSON · API

GNU Bash

GNU Bash OS Command Injection Vulnerability

GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote attackers to execute arbitrary commands via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271, CVE-2014-7169, and CVE-2014-6277.

First public PoC 1.4 days beforebefore publication · 29 Sep 2014 · Exploit-DB
Public PoCs102 on GitHub · 8 Exploit-DB, Metasploit or nuclei
CVSS8.8high · scored by CISA ADP · CWE-78
CISA KEV 2 Oct 202511.0 years after publication

Timeline

Days relative to CVE publication
t=0+2 y+4 y+6 y+8 y+10 yFirst public PoC29 Sep 2014 · t−1.4dCVE published30 Sep 2014 · t = 0Added to CISA KEV2 Oct 2025 · t+11.0y

First public PoC 1.4 days before publication; added to CISA KEV 11.0 years after publication. First PoC: dhclient 4.1 - Bash Environment Variable Command Injection (Shellshock) (Exploit-DB, 29 Sep 2014).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
0xBeacon/CiscoUCS-Shellshock 15 Mar 2016 +1.5 y 0 PoC
thatchriseckert/CiscoUCS-Shellshock 15 Mar 2016 +1.5 y 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /ucsm/isSamInstalled.cgi
(?i)^/ucsm/isSamInstalled\.cgi(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /ucsm/isSamInstalled.cgi
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2014-6278 GNU GNU Bash exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ucsm/isSamInstalled.cgi"; reference:url,poc.griffinguard.io/cve/CVE-2014-6278; classtype:web-application-attack; sid:9236243; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /ucsm/isSamInstalled.cgi
title: GNU GNU Bash exploit attempt (CVE-2014-6278)
id: gg-pocmon-cve-2014-6278-9236243
status: experimental
description: Request pattern taken from public PoCs for CVE-2014-6278. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2014-6278
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/ucsm/isSamInstalled.cgi'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2014.6278