GLSA 202006-20: Asterisk: Root privilege escalation

Severity:high
Title:Asterisk: Root privilege escalation
Date:06/15/2020
Bugs: #602722
ID:202006-20

Synopsis

A vulnerability was discovered in Asterisk which may allow local attackers to gain root privileges.

Background

A Modular Open Source PBX System.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-misc/asterisk < 13.32.0-r1 >= 13.32.0-r1 All supported architectures

Description

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.

Resolution

All Asterisk users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=net-misc/asterisk-13.32.0-r1"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202006-20.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!