OS Command Injection in Asterisk Open Source and Certified Asterisk - CVE-2019-18610

 

OS Command Injection in Asterisk Open Source and Certified Asterisk - CVE-2019-18610

Published: November 22, 2019


Vulnerability identifier: #VU22935
CSH Severity: High
CVSS v4: 8.7 [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]
CVE-ID: CVE-2019-18610
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to improper input validation in the "manager.c" module. A remote authenticated Asterisk Manager Interface (AMI) user without “system” authorization can use a specially crafted “Originate” AMI request to execute arbitrary system commands.

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


Affected software

Asterisk Open Source
Certified Asterisk
asterisk (Alpine package)

How to mitigate CVE-2019-18610

Install updates from vendor's website.

Asterisk Open Source - addressed in versions 13.29.2, 16.6.2, 17.0.1
Certified Asterisk - update to 13.21-cert5
asterisk (Alpine package) - addressed in versions 16.3.0-r3, 16.6.2-r0

External References

Related Security Bulletins