Risk | Critical |
Patch available | YES |
Number of vulnerabilities | 1 |
CVE-ID | CVE-2014-6271 |
CWE-ID | CWE-77 |
Exploitation vector | Network |
Public exploit | This vulnerability is being exploited in the wild. |
Vulnerable software |
bash (Alpine package) Operating systems & Components / Operating system package or component |
Vendor | Alpine Linux Development Team |
Security Bulletin
This security bulletin contains one critical risk vulnerability.
EUVDB-ID: #VU5295
Risk: Critical
CVSSv4.0: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red]
CVE-ID: CVE-2014-6271
CWE-ID:
CWE-77 - Command injection
Exploit availability: Yes
DescriptionThe vulnerability allows a remote attacker to execute arbitrary commands on the target system.
The vulnerability exists due to incorrect parsing of environment variables. A remote attacker can execute arbitrary code on the target system 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.
Successful exploitation may allow an attacker to gain complete control over vulnerable system.
Exploitation example:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
Note: this vulnerability was being actively exploited in the wild.
MitigationInstall update from vendor's website.
Vulnerable software versionsbash (Alpine package): 4.2.037-r0 - 4.2.045-r2
CPE2.3https://git.alpinelinux.org/aports/commit/?id=97da490163f2462899ff86143f9a9abc960e5269
https://git.alpinelinux.org/aports/commit/?id=6d8b4b43edacc55a50dcdbcb2cbf6c5da00e8a31
https://git.alpinelinux.org/aports/commit/?id=ad7e76b785a6fb778ab22473f0ec4ed78805a376
https://git.alpinelinux.org/aports/commit/?id=0e3b7e96471caf6ae1e226e4413e5d7a2852ac0a
https://git.alpinelinux.org/aports/commit/?id=07e6144b76bad51a8dfcfae1eade5b4571c534c3
Q & A
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.