#VU5310 Memory corruption in Bash


Published: 2020-03-18

Vulnerability identifier: #VU5310

Vulnerability risk: Critical

CVSSv3.1: 9.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C]

CVE-ID: CVE-2014-6277

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Bash
Universal components / Libraries / Scripting languages

Vendor: GNU

Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to incorrect parsing of environment variables. A remote attacker can trigger memory corruption and 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. The vulnerability was introduced by incorrect patching of vulnerabilities #1 (CVE-2014-6271) and #2 (CVE-2014-7169).

Successful exploitation results in arbitrary code execution on the vulnerable system.

Note: this vulnerability was being actively exploited in the wild.

Mitigation
Update GNU Bash to version 4.3 bash43-027.

Vulnerable software versions

Bash: 1.14.0 - 4.3


External links
http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-027


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.


Latest bulletins with this vulnerability