Debian dla-3925 : asterisk - security update

high Nessus Plugin ID 209341

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3925 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-3925-1 [email protected] https://www.debian.org/lts/security/ Thorsten Alteholz October 20, 2024 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : asterisk Version : 1:16.28.0~dfsg-0+deb11u5 CVE ID : CVE-2024-42365 CVE-2024-42491


Two issues have been found in asterisk, an Open Source Private Branch Exchange.


CVE-2024-42365

Due to a privilege escalation, remote code execution and/or blind server-side request forgery with arbitrary protocol are possible.

CVE-2024-42491

Due to bad handling of malformed Contact or Record-Route URI in an incoming SIP request, Asterisk might crash when res_resolver_unbound is used.

Thanks to Niels Galjaard, a minor privilege escalation has been fixed.
More information about ths can be found at:

https://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/2024-July/038664.html


For Debian 11 bullseye, these problems have been fixed in version 1:16.28.0~dfsg-0+deb11u5.

We recommend that you upgrade your asterisk packages.

For the detailed security status of asterisk please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/asterisk

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian 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

Upgrade the asterisk packages.

See Also

https://security-tracker.debian.org/tracker/source-package/asterisk

https://security-tracker.debian.org/tracker/CVE-2024-42365

https://security-tracker.debian.org/tracker/CVE-2024-42491

https://packages.debian.org/source/bullseye/asterisk

Plugin Details

Severity: High

ID: 209341

File Name: debian_DLA-3925.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/20/2024

Updated: 12/3/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7.4

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

CVSS Score Source: CVE-2024-42365

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:asterisk-mp3, p-cpe:/a:debian:debian_linux:asterisk-tests, cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:asterisk, p-cpe:/a:debian:debian_linux:asterisk-mysql, p-cpe:/a:debian:debian_linux:asterisk-doc, p-cpe:/a:debian:debian_linux:asterisk-vpb, p-cpe:/a:debian:debian_linux:asterisk-dahdi, p-cpe:/a:debian:debian_linux:asterisk-voicemail, p-cpe:/a:debian:debian_linux:asterisk-dev, p-cpe:/a:debian:debian_linux:asterisk-ooh323, p-cpe:/a:debian:debian_linux:asterisk-modules, p-cpe:/a:debian:debian_linux:asterisk-voicemail-imapstorage, p-cpe:/a:debian:debian_linux:asterisk-voicemail-odbcstorage, p-cpe:/a:debian:debian_linux:asterisk-mobile, p-cpe:/a:debian:debian_linux:asterisk-config

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/20/2024

Vulnerability Publication Date: 8/8/2024

Exploitable With

Metasploit (Asterisk AMI Originate Authenticated RCE)

Reference Information

CVE: CVE-2024-42365, CVE-2024-42491