OS Command Injection in ansible (Alpine package)



Published: 2020-01-17
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-14904
CWE-ID CWE-78
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
ansible (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU23449

Risk: Medium

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

CVE-ID: CVE-2019-14904

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

Description

The vulnerability allows a remote user to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when processing zone names within the solaris_zone module. A remote uuser can provide a specially crafted zone name as a parameter to the os.system() call and execute arbitrary OS commands on the target system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

ansible (Alpine package): 2.7.9-r0 - 2.8.6-r0

External links

http://git.alpinelinux.org/aports/commit/?id=609712eebaae8fa38739e422702af34deca6e4d0
http://git.alpinelinux.org/aports/commit/?id=26f3ed589646c92c24f247a609f76403b0e4e045
http://git.alpinelinux.org/aports/commit/?id=4b4c6954cf0eab5315a9d6e41cdff036ca99f836
http://git.alpinelinux.org/aports/commit/?id=1243e4504e5eab5e6253188c8d16667508820289
http://git.alpinelinux.org/aports/commit/?id=b67a373492fd24911338d12cb9c2ede52b65ccf9


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###