Buffer overflow in Kamailio - CVE-2018-16657

 

Buffer overflow in Kamailio - CVE-2018-16657

Published: September 17, 2018


Vulnerability identifier: #VU14789
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-16657
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when processing SIP messages with an invalid "Via" header within the crcitt_string_array() and check_via_address() functions. A remote attacker can send a specially crafted SIP message, trigger memory corruption and crash the service or execute arbitrary code.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

Kamailio
Debian Linux
Ubuntu
kamailio (Ubuntu package)

How to mitigate CVE-2018-16657

Install updates from vendor's website.

Kamailio - addressed in versions 5.0.7, 5.1.4
kamailio (Ubuntu package) - update to Ubuntu Pro

External References

Related Security Bulletins