Details
Alert ID 10048-2
Alert Type Active
Status beta
Risk High
CWE 78
WASC 31
Technologies Targeted All
Tags CWE-78
OWASP_2017_A09
OWASP_2021_A06
WSTG-V42-INPV-12
More Info Scan Rule Help

Summary

The server is running a version of the Bash shell that allows remote attackers to execute arbitrary code

Solution

Update Bash on the server to the latest version

Other Info

From CVE-2014-6271: GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code 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, aka "ShellShock." NOTE: the original fix for this issue was incorrect; CVE-2014-7169 has been assigned to cover the vulnerability that is still present after the incorrect fix.

References

Code

org/zaproxy/zap/extension/ascanrulesBeta/ShellShockScanRule.java