7.8
HIGH CVSS 3.1
CVE-2025-47780
cli_permissions.conf: deny option does not work for disallowing shell commands
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.

INFO

Published Date :

May 22, 2025, 5:15 p.m.

Last Modified :

May 23, 2025, 3:55 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2025-47780 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Asterisk asterisk
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 MEDIUM [email protected]
Solution
Update Asterisk to a patched version to prevent unauthorized shell command execution.
  • Update Asterisk to version 18.26.2 or later.
  • Update Asterisk to version 20.14.1 or later.
  • Update Asterisk to version 21.9.1 or later.
  • Update Asterisk to version 22.4.1 or later.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-47780.

URL Resource
https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-47780 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-47780 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-47780 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Aug. 25, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:* versions up to (excluding) 18.26.2 *cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:* versions from (including) 20.0.0 up to (excluding) 20.14.1 *cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:* versions from (including) 21.0.0 up to (excluding) 21.9.1 *cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:* versions from (including) 22.0.0 up to (excluding) 22.4.1
    Added CPE Configuration OR *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert2:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:*:*:*:*:*:*:*:* versions up to (excluding) 18.9 *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert3:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert4:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert5:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:-:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1-rc1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert10:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert11:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert12:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert13:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert6:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert7:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8-rc1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8-rc2:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:18.9:cert9:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1-rc1:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1-rc2:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:20.7:cert2:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:20.7:cert3:*:*:*:*:*:* *cpe:2.3:a:sangoma:certified_asterisk:20.7:cert4:*:*:*:*:*:*
    Added Reference Type GitHub, Inc.: https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2 Types: Exploit, Vendor Advisory
  • New CVE Received by [email protected]

    May. 22, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-78
    Added Reference https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 4.8
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact