CVE-2025-47780: Asterisk - Broken Access Control
- Cve: CVE-2025-47780
- Name: Asterisk - Broken Access Control
- 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.
- Impact: Attackers with CLI access can execute arbitrary shell commands, potentially leading to full system compromise.
- Remediation: Upgrade to versions 18.26.2, 20.14.1, 21.9.1, 22.4.1 or certified-asterisk 18.9-cert14, 20.7-cert5 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs access to Asterisk CLI
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00276
- Epss percentile: 0.2026
- Assignee: [email protected]
- Published at: 2025-05-22T17:15:24Z
- Age in days: 551
- Modified at: 2026-06-17T09:28:40Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-47780
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2 | nvd | 2025-05-22 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2 | nvd | Exploit, Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2025/06/msg00003.html | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sangoma:asterisk | >= 22.0.0, < 22.4.1; >= 21.0.0, < 21.9.1; >= 20.0.0, < 20.14.1; < 18.26.2 | no | nvd | /v1/products/sangoma/asterisk |
| sangoma:certified_asterisk | = 20.7 cert1, = 20.7 cert1-rc1, = 20.7 cert1-rc2, = 20.7 cert2, = 20.7 cert3, = 20.7 cert4, < 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 | no | nvd | /v1/products/sangoma/certified_asterisk |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| asterisk/asterisk | fix, security_advisory | yes | /v1/repositories/asterisk/asterisk |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-05-22
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts