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

published March 20, 2018

CVSS
—
EPSS
30%
Percentile
98.2
In the wild
Unconfirmed
What it is

⚠️ An off-by-one buffer overflow could be lurking in Kamailio! A single malformed REGISTER message is all it takes to trigger this sneaky exploit. 🔥 Think of it like a waiter trying to fit one last dessert onto a table that’s already full — the pressure causes everything to topple over! In this case, the overflow could lead to unpredictable behavior in the system. If exploited, this vulnerability could allow an attacker to manipulate memory, potentially causing crashes or unpredictable behavior. While there's no known exploitation right now, the possibility of it being leveraged in the future remains a concern.

Put simply

Think of it like a waiter trying to fit one last dessert onto a table that’s already full — the pressure causes everything to topple over! In this case, the overflow could lead to unpredictable behavior in the system. This buffer overflow issue occurs in the tmx_check_pretran function when a specially crafted REGISTER message with a malformed branch or From tag is processed. It allows attackers to overflow the heap memory.

What to do

If exploited, this vulnerability could allow an attacker to manipulate memory, potentially causing crashes or unpredictable behavior. While there's no known exploitation right now, the possibility of it being leveraged in the future remains a concern. Update Kamailio to versions 4.4.7, 5.0.6, or 5.1.2 to patch this vulnerability. Regularly review your configurations and ensure you're not accepting malformed messages that could trigger this vulnerability. You’ve got this! By updating your system, you’ll keep it safe from potential mishaps. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.30411 · 98.2th percentile
Published
2018-03-20T20:00Z
EPSS history
Timeline
  • 20 MAR 20:00Z
    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
    cvelistv5