Improper input validation in bash (Alpine package)



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2016-0634
CWE-ID CWE-20
Exploitation vector Network
Public exploit N/A
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 high risk vulnerability.

1) Improper input validation

EUVDB-ID: #VU13103

Risk: High

CVSSv4.0: 6.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2016-0634

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

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

The vulnerability exists in the expansion of 'h' in the prompt string due to insufficient validation of user-supplied input. A remote attacker can place shell metacharacters in 'hostname' of a machine and execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

bash (Alpine package): 4.3.48-r2

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=5912528af0f62188ad05260f7dc790a93e8466c1
https://git.alpinelinux.org/aports/commit/?id=cec73eedb763b803897e98f0a5b3934dc4be1fdd
https://git.alpinelinux.org/aports/commit/?id=d60bf515aff21d0ef3eb0cfa45d92d5ee725e755


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###