Vulnerability Name:

CVE-2018-14767 (CCN-147702)

Assigned:2018-07-30
Published:2018-07-30
Updated:2018-10-04
Summary: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. The reason is missing input validation in the "build_res_buf_from_sip_req" core function. This could result in denial of service and potentially the execution of arbitrary code.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-20
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2018-14767

Source: XF
Type: UNKNOWN
kamailio-cve201814767-dos(147702)

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20180819 [SECURITY] [DLA 1471-1] kamailio security update

Source: CCN
Type: Advisory HW-2018-05
Security vulnerability in Kamailio To header processing

Source: MISC
Type: Exploit, Patch, Third Party Advisory
https://skalatan.de/blog/advisory-hw-2018-05

Source: DEBIAN
Type: Third Party Advisory
DSA-4267

Source: CCN
Type: Kamailio Web site
Kamailio

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-14767

Vulnerable Configuration:Configuration 1:
  • cpe:/o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/a:kamailio:kamailio:*:*:*:*:*:*:*:* (Version < 5.0.7)
  • OR cpe:/a:kamailio:kamailio:*:*:*:*:*:*:*:* (Version >= 5.1.0 and < 5.1.4)

  • Configuration CCN 1:
  • cpe:/a:kamailio:kamailio:5.0.6:*:*:*:*:*:*:*
  • OR cpe:/a:kamailio:kamailio:5.1.3:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.disco:def:2018147670000000
    V
    CVE-2018-14767 on Ubuntu 19.04 (disco) - low.
    2018-07-31
    oval:com.ubuntu.bionic:def:201814767000
    V
    CVE-2018-14767 on Ubuntu 18.04 LTS (bionic) - low.
    2018-07-31
    oval:com.ubuntu.cosmic:def:2018147670000000
    V
    CVE-2018-14767 on Ubuntu 18.10 (cosmic) - low.
    2018-07-31
    oval:com.ubuntu.cosmic:def:201814767000
    V
    CVE-2018-14767 on Ubuntu 18.10 (cosmic) - low.
    2018-07-31
    oval:com.ubuntu.bionic:def:2018147670000000
    V
    CVE-2018-14767 on Ubuntu 18.04 LTS (bionic) - low.
    2018-07-31
    oval:com.ubuntu.trusty:def:201814767000
    V
    CVE-2018-14767 on Ubuntu 14.04 LTS (trusty) - low.
    2018-07-31
    oval:com.ubuntu.xenial:def:2018147670000000
    V
    CVE-2018-14767 on Ubuntu 16.04 LTS (xenial) - low.
    2018-07-31
    oval:com.ubuntu.xenial:def:201814767000
    V
    CVE-2018-14767 on Ubuntu 16.04 LTS (xenial) - low.
    2018-07-31
    BACK
    debian debian linux 8.0
    debian debian linux 9.0
    kamailio kamailio *
    kamailio kamailio *
    kamailio kamailio 5.0.6
    kamailio kamailio 5.1.3