cbcvebase.
CVE-2018-8828
published 2018-03-20

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…

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
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debiankamailio< kamailio 5.1.2-1 (bookworm)kamailio 5.1.2-1 (bookworm)
kamailiokamailio< 4.4.74.4.7
kamailiokamailio>= 0 < 5.1.2-15.1.2-1
kamailiokamailio>= 0 < 5.1.2-15.1.2-1
kamailiokamailio>= 0 < 5.1.2-15.1.2-1
kamailiokamailio>= 0 < 5.1.2-15.1.2-1
kamailiokamailio>= 5.0.0 < 5.0.65.0.6
kamailiokamailio>= 5.1.0 < 5.1.25.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.