#VU33634 Heap-based buffer overflow in Debian Linux - CVE-2016-2385


| Updated: 2020-08-04

Vulnerability identifier: #VU33634

Vulnerability risk: High

CVSSv4.0: 8.9 [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-2016-2385

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Debian Linux
Operating systems & Components / Operating system

Vendor: Debian

Description

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

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the encode_msg function in encode_msg.c in the SEAS module in Kamailio (formerly OpenSER and SER) before 4.3.5. A remote attacker can use a large SIP packet. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

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

Mitigation
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

Debian Linux: 8.0


External links
https://packetstormsecurity.com/files/136477/Kamailio-4.3.4-Heap-Overflow.html
https://www.debian.org/security/2016/dsa-3535
https://www.debian.org/security/2016/dsa-3537
https://www.kamailio.org/pub/kamailio/4.3.5/ChangeLog
https://www.securityfocus.com/archive/1/537926/100/0/threaded
https://census-labs.com/news/2016/03/30/kamailio-seas-heap-overflow/
https://github.com/kamailio/kamailio/commit/f50c9c853e7809810099c970780c30b0765b0643
https://www.exploit-db.com/exploits/39638/


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.


Latest bulletins with this vulnerability