GLSA-202006-20 : Asterisk: Root privilege escalation

high Nessus Plugin ID 137457

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202006-20 (Asterisk: Root privilege escalation)

It was discovered that Gentoo’s Asterisk ebuild does not properly set permissions on its data directories. This only affects OpenRC systems, as the flaw was exploitable via the init script.
Impact :

A local attacker could escalate privileges.
Workaround :

Users should ensure the proper permissions are set as discussed in the referenced bugs. Do not run /etc/init.d/asterisk checkperms.

Solution

All Asterisk users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-misc/asterisk-13.32.0-r1'

See Also

https://security.gentoo.org/glsa/202006-20

Plugin Details

Severity: High

ID: 137457

File Name: gentoo_GLSA-202006-20.nasl

Version: 1.1

Type: local

Published: 6/17/2020

Updated: 6/17/2020

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:asterisk, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 6/15/2020

Vulnerability Publication Date: 6/15/2020

Reference Information

GLSA: 202006-20