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

published July 31, 2018

CVSS
โ€”
EPSS
29%
Percentile
98.2
In the wild
Unconfirmed
What it is

โš ๏ธ A double "To" header in a SIP message is all it takes to crash Kamailio! This sneaky little bug could leave your service gasping for air. ๐Ÿ’” Think of it like a restaurant that doesn't handle special orders well; when a server gets two conflicting requests with nothing clear in between, chaos unfolds in the kitchen! This vulnerability could lead to a denial of service, causing your server to crash unexpectedly. Even worse, in the right hands, it might pave the way for executing arbitrary code, leaving your entire system at risk.

Put simply

Think of it like a restaurant that doesn't handle special orders well; when a server gets two conflicting requests with nothing clear in between, chaos unfolds in the kitchen! The issue arises from missing input validation in the `build_res_buf_from_sip_req` function in Kamailio versions prior to 5.0.7 and 5.1.4, leading to a segmentation fault when it encounters a SIP message with a double "To" header and an empty "To" tag.

What to do

This vulnerability could lead to a denial of service, causing your server to crash unexpectedly. Even worse, in the right hands, it might pave the way for executing arbitrary code, leaving your entire system at risk. To protect your systems, update Kamailio to version 5.0.7 or 5.1.4 and ensure that your input validation mechanisms are robust. Consider auditing your SIP handling for any similar vulnerabilities! You've got this! With these updates, you'll be back in control in no time! ๐Ÿ›ก๏ธ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.29303 ยท 98.2th percentile
Published
2018-07-31T06:00Z
EPSS history
Timeline
  • 31 JUL 06:00Z
    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
    cvelistv5