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.0: 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/E:P/U:Amber
CVE-ID: CVE-2018-16657
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Kamailio
Affected software:
Kamailio

Detailed vulnerability description

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.


How to mitigate CVE-2018-16657

Install updates from vendor's website.

Sources