RCE in GNU Bash
CVE-2016-0634
The expansion of '\h' in the prompt string in bash 4.3 allows remote authenticated users to execute arbitrary code via shell metacharacters placed in 'hostname' of a machine.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.061, 93.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Bash — versions 4.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 7 other repositories (ARPSyndicate/cvemon, KorayAgaya/TrivyWeb, Mohzeela/external-secret, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20160927 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20160916 CVE-2016-0634 -- bash prompt expanding $HOSTNAME (mailing-list, Patch, Mailing List, Third Party Advisory)
- RHSA-2017:0725 (vendor-advisory)
- [oss-security] 20160929 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20160920 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME (mailing-list, Mailing List, Third Party Advisory)
- www.securityfocus.com/bid/92999 (Third Party Advisory, VDB Entry, vdb-entry)
- RHSA-2017:1931 (vendor-advisory)
- [oss-security] 20161007 Re: Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20160918 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20160919 Re: CVE-2016-0634 -- bash prompt expanding $HOSTNAME (mailing-list, Mailing List, Third Party Advisory)