Buffer overflow in Kamailio



Published: 2018-09-17
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-16657
CWE-ID CWE-119
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Kamailio
Server applications / Conferencing, Collaboration and VoIP solutions

Vendor Kamailio

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU14789

Risk: High

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

CVE-ID: CVE-2018-16657

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Kamailio: 5.0.0 - 5.1.3

External links

http://lists.debian.org/debian-lts-announce/2018/09/msg00013.html
http://skalatan.de/blog/advisory-hw-2018-06
http://www.debian.org/security/2018/dsa-4292


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###