CVE-2020-27507

The Kamailio SIP before 5.5.0 server mishandles INVITE requests with duplicated fields and overlength tag, leading to a buffer overflow that crashes the server…

Critical · published March 15, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
67.3
In the wild
Unconfirmed
What it is

🔥 A rogue INVITE request can turn your Kamailio SIP server into a crashing spectacle! Think of this like a restaurant accepting multiple reservations for the same table — soon, the chaos attracts attention, and the staff is left scrambling, leading to a complete shutdown. This vulnerability is a similar mix-up in the server's handling of duplicated fields and overlength tags! When an attacker sends a crafted INVITE request, it can lead to a devastating buffer overflow, causing the server to crash. This isn't just a minor hiccup; it can disrupt communication services and potentially open the door to further undisclosed exploits. The fallout from this can leave networks vulnerable and operationally disrupted!

Put simply

Think of this like a restaurant accepting multiple reservations for the same table — soon, the chaos attracts attention, and the staff is left scrambling, leading to a complete shutdown. This vulnerability is a similar mix-up in the server's handling of duplicated fields and overlength tags! The Kamailio SIP server mishandles INVITE requests with duplicated fields and overlength tags, resulting in a buffer overflow that crashes the server or leads to unspecified impacts. This vulnerability exists in all versions before 5.5.0.

What to do

When an attacker sends a crafted INVITE request, it can lead to a devastating buffer overflow, causing the server to crash. This isn't just a minor hiccup; it can disrupt communication services and potentially open the door to further undisclosed exploits. The fallout from this can leave networks vulnerable and operationally disrupted! Update your Kamailio SIP server to version 5.5.0 or later immediately to patch this vulnerability. Additionally, review your server configurations to ensure there are no lingering misconfigurations that could be exploited. Regularly monitor your systems for anomalous INVITE requests as a precaution! You've got this! Follow these steps, and you’ll have your SIP server secured in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01176 · 67.3th percentile
Published
2023-03-15T00:00Z
EPSS history
Timeline
  • 15 MAR 00:00Z
    The Kamailio SIP before 5.5.0 server mishandles INVITE requests with duplicated fields and overlength tag, leading to a buffer overflow that crashes the server…
    cvelistv5