CVE-2018-8828
published 2018-03-20CVE-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…
PriorityP263critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
31.34%
98.1th percentile
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_pretran function in modules/tmx/tmx_pretran.c.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | kamailio | < kamailio 5.1.2-1 (bookworm) | kamailio 5.1.2-1 (bookworm) |
| kamailio | kamailio | < 4.4.7 | 4.4.7 |
| kamailio | kamailio | >= 0 < 5.1.2-1 | 5.1.2-1 |
| kamailio | kamailio | >= 0 < 5.1.2-1 | 5.1.2-1 |
| kamailio | kamailio | >= 0 < 5.1.2-1 | 5.1.2-1 |
| kamailio | kamailio | >= 0 < 5.1.2-1 | 5.1.2-1 |
| kamailio | kamailio | >= 5.0.0 < 5.0.6 | 5.0.6 |
| kamailio | kamailio | >= 5.1.0 < 5.1.2 | 5.1.2 |
Detection & IOCsextracted from sources · hover to see the quote
- →Trigger vector is a specially crafted SIP REGISTER message with a malformed branch or From tag, targeting the tmx_check_pretran function in modules/tmx/tmx_pretran.c ↗
- →Monitor SIP REGISTER messages with anomalous or oversized branch parameters or From tags directed at Kamailio instances running the tmx module ↗
- ·Vulnerability only affects Kamailio instances with the tmx module loaded (modules/tmx/tmx_pretran.c); versions before 4.4.7, 5.0.x before 5.0.6, and 5.1.x before 5.1.2 are affected ↗
- ·Debian resolved the issue in package version 5.1.2-1 across all tracked releases (bookworm, bullseye, forky, sid, trixie) ↗
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Kamailio vulnerability
vendor_ubuntu·2020-01-16
CVE-2018-8828 Kamailio vulnerability
Title: Kamailio vulnerability
Summary: kamailio could be made to crash if it opened a specially crafted file.
It was discovered that Kamailio incorrectly handled a specially crafted file.
An attacker could possibly use this issue to cause a denial of service or
other unspecified impact.
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2018-8828: kamailio - A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5....
vendor_debian·2018·CVSS 9.8
CVE-2018-8828 [CRITICAL] CVE-2018-8828: kamailio - A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5....
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_pretran function in modules/tmx/tmx_pretran.c.
Scope: local
bookworm: resolved (fixed in 5.1.2-1)
bullseye: resolved (fixed in 5.1.2-1)
forky: resolved (fixed in 5.1.2-1)
sid: resolved (fixed in 5.1.2-1)
trixie: resolved (fixed in 5.1.2-1)
GHSA
GHSA-9r28-8w7c-98wj: A Buffer Overflow issue was discovered in Kamailio before 4
ghsa_unreviewed·2022-05-13
CVE-2018-8828 [CRITICAL] CWE-787 GHSA-9r28-8w7c-98wj: A Buffer Overflow issue was discovered in Kamailio before 4
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_pretran function in modules/tmx/tmx_pretran.c.
OSV
CVE-2018-8828: A Buffer Overflow issue was discovered in Kamailio before 4
osv·2018-03-20·CVSS 9.8
CVE-2018-8828 [CRITICAL] CVE-2018-8828: A Buffer Overflow issue was discovered in Kamailio before 4
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_pretran function in modules/tmx/tmx_pretran.c.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/EnableSecurity/advisories/tree/master/ES2018-05-kamailio-heap-overflowhttps://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097https://usn.ubuntu.com/4240-1/https://www.debian.org/security/2018/dsa-4148https://github.com/EnableSecurity/advisories/tree/master/ES2018-05-kamailio-heap-overflowhttps://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097https://usn.ubuntu.com/4240-1/https://www.debian.org/security/2018/dsa-4148
2018-03-20
Published