Vulnerability CVE-2016-2385


Published: 2016-04-11

Description:
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 allows remote attackers to cause a denial of service (memory corruption and process crash) or possibly execute arbitrary code via a large SIP packet.

Type:

CWE-119

(Improper Restriction of Operations within the Bounds of a Memory Buffer)

Vendor: Debian
Product: Debian linux 
Version: 8.0;
Vendor: Kamailio
Product: Kamailio 
Version: 4.3.4;

CVSS2 => (AV:N/AC:L/Au:N/C:C/I:C/A:C)

CVSS Base Score
Impact Subscore
Exploitability Subscore
10/10
10/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Complete
Complete
Complete

 References:
http://packetstormsecurity.com/files/136477/Kamailio-4.3.4-Heap-Overflow.html
http://www.debian.org/security/2016/dsa-3535
http://www.debian.org/security/2016/dsa-3537
http://www.kamailio.org/pub/kamailio/4.3.5/ChangeLog
http://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/

Related CVE
CVE-2018-16657
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with an invalid Via header causes a segmentation fault and crashes Kamailio. The reason is missing input validation in the crcitt_string_array core function for calculating a CRC ...
CVE-2018-14767
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with a double "To" header and an empty "To" tag causes a segmentation fault and crash. The reason is missing input validation in the "build_res_buf_from_sip_req" core function. Th...
CVE-2018-8828
A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x before 5.1.2. A specially crafted REGISTER message with a malformed branch or From tag triggers an off-by-one heap-based buffer overflow in the tmx_check_p...
CVE-2015-1590
The kamcmd administrative utility and default configuration in kamailio before 4.3.0 use /tmp/kamailio_ctl.
CVE-2013-7426
Insecure Temporary file vulnerability in /tmp/kamailio_fifo in kamailio 4.0.1.
CVE-2015-1591
The kamailio build in kamailio before 4.2.0-2 process allows local users to gain privileges.

Copyright 2019, cxsecurity.com

 

Back to Top