cve.bz

CVE-2025-47780 sangoma: OS Command Injection

4.8 mediumExploit referenceEPSS 0.3%

Medium (4.8) in sangoma. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

4.8 medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-05-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-47780 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-47780?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-47780?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-47780 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sangoma:asteriskbefore 18.26.2
sangoma:asteriskfrom 20.0.0 before 20.14.1
sangoma:asteriskfrom 21.0.0 before 21.9.1
sangoma:asteriskfrom 22.0.0 before 22.4.1
sangoma:certified_asteriskbefore 18.9
sangoma:certified_asterisk18.9
sangoma:certified_asterisk18.9:cert1
sangoma:certified_asterisk18.9:cert1-rc1
sangoma:certified_asterisk18.9:cert10
sangoma:certified_asterisk18.9:cert11
sangoma:certified_asterisk18.9:cert12
sangoma:certified_asterisk18.9:cert13
sangoma:certified_asterisk18.9:cert2
sangoma:certified_asterisk18.9:cert3
sangoma:certified_asterisk18.9:cert4
sangoma:certified_asterisk18.9:cert5
sangoma:certified_asterisk18.9:cert6
sangoma:certified_asterisk18.9:cert7
sangoma:certified_asterisk18.9:cert8
sangoma:certified_asterisk18.9:cert8-rc1
sangoma:certified_asterisk18.9:cert8-rc2
sangoma:certified_asterisk18.9:cert9
sangoma:certified_asterisk20.7:cert1
sangoma:certified_asterisk20.7:cert1-rc1
sangoma:certified_asterisk20.7:cert1-rc2
sangoma:certified_asterisk20.7:cert2
sangoma:certified_asterisk20.7:cert3
sangoma:certified_asterisk20.7:cert4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11asterisk1:16.28.0~dfsg-0+deb11u7DLA-4206-1
Debian14asterisk1:22.4.1~dfsg+~cs6.15.60671435-1DEBIAN-CVE-2025-47780
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 5 moreasteriskno fix listedUBUNTU-CVE-2025-47780

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON