CVE-2025-47780 Details
Description
Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.26.2, 20.14.1, 21.9.1, and 22.4.1 of Asterisk and versions 18.9-cert14 and 20.7-cert5 of certified-asterisk, trying to disallow shell commands to be run via the Asterisk command line interface (CLI) by configuring `cli_permissions.conf` (e.g. with the config line `deny=!*`) does not work which could lead to a security risk. If an administrator running an Asterisk instance relies on the `cli_permissions.conf` file to work and expects it to deny all attempts to execute shell commands, then this could lead to a security vulnerability. Versions 18.26.2, 20.14.1, 21.9.1, and 22.4.1 of Asterisk and versions 18.9-cert14 and 20.7-cert5 of certified-asterisk fix the issue.
A vulnerability exists in Asterisk versions prior to 18.26.2, 20.14.1, 21.9.1, and 22.4.1, as well as in certified-asterisk versions 18.9-cert13 and 20.7-cert4. The issue arises because the 'cli_permissions.conf' file, which is intended to restrict the execution of shell commands via the Asterisk command line interface (CLI), does not function as expected. Administrators who rely on this configuration to deny shell command execution may inadvertently expose their systems to security risks. The vulnerability occurs because the Asterisk CLI permission handling skips the necessary checks, allowing disallowed commands to be executed.
Users can upgrade to Asterisk versions 18.26.2, 20.14.1, 21.9.1, or 22.4.1, or to certified-asterisk versions 18.9-cert14 or 20.7-cert5.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/06/msg00003.html | CVE | |
| https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sangoma asterisk | < 18.26.2 >= 20.0.0, < 20.14.1 >= 21.0.0, < 21.9.1 >= 22.0.0, < 22.4.1 |
CPE
Remediation
| |
| sangoma certified asterisk | < 18.9 18.9 - 18.9 cert1 18.9 cert1-rc1 18.9 cert10 18.9 cert11 18.9 cert12 18.9 cert13 18.9 cert2 18.9 cert3 18.9 cert4 18.9 cert5 18.9 cert6 18.9 cert7 18.9 cert8 18.9 cert8-rc1 18.9 cert8-rc2 18.9 cert9 20.7 cert1 20.7 cert1-rc1 20.7 cert1-rc2 20.7 cert2 20.7 cert3 20.7 cert4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Aug 25, 2025 | Initial Analysis | [email protected] |
| May 22, 2025 | New CVE Received | [email protected] |