Ubuntu 16.04 ESM / 18.04 ESM / 20.04 ESM : Kamailio vulnerabilities (USN-6022-1)

critical Nessus Plugin ID 174344

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 16.04 ESM / 18.04 ESM / 20.04 ESM host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-6022-1 advisory.

It was discovered that Kamailio did not properly sanitize SIP messages under certain circumstances. An attacker could use this vulnerability to cause a denial of service or possibly execute arbitrary code.
This issue only affected Ubuntu 16.04 ESM and 18.04 ESM. (CVE-2018-16657)

It was discovered that Kamailio did not properly validate INVITE requests under certain circumstances. An attacker could use this vulnerability to cause a denial of service or possibly execute arbitrary code.
(CVE-2020-27507)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-6022-1

Plugin Details

Severity: Critical

ID: 174344

File Name: ubuntu_USN-6022-1.nasl

Version: 1.3

Type: local

Agent: unix

Published: 4/14/2023

Updated: 8/28/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2018-16657

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2020-27507

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:kamailio-ldap-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-rabbitmq-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-outbound-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-lua-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-postgres-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-python3-modules, cpe:/o:canonical:ubuntu_linux:16.04:-:esm, p-cpe:/a:canonical:ubuntu_linux:kamailio-carrierroute-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-purple-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-systemd-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-perl-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-xmpp-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-autheph-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-geoip-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-sqlite-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-ruby-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-utils-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-tls-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-kazoo-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-snmpstats-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-mysql-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-radius-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-json-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-cpl-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-erlang-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-memcached-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-berkeley-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-unixodbc-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-xml-modules, cpe:/o:canonical:ubuntu_linux:18.04:-:esm, p-cpe:/a:canonical:ubuntu_linux:kamailio-mono-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-python-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-presence-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-dnssec-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-cnxcc-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio, p-cpe:/a:canonical:ubuntu_linux:kamailio-geoip2-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-java-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-redis-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-websocket-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-mongodb-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-berkeley-bin, p-cpe:/a:canonical:ubuntu_linux:kamailio-phonenum-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-sctp-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-extra-modules, p-cpe:/a:canonical:ubuntu_linux:kamailio-ims-modules, cpe:/o:canonical:ubuntu_linux:20.04:-:esm

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/14/2023

Vulnerability Publication Date: 9/7/2018

Reference Information

CVE: CVE-2018-16657, CVE-2020-27507

USN: 6022-1