{"id":"CVE-2025-47780","aliases":["CVE-2025-47780"],"related":[],"kind":"vulnerability","state":"published","title":"cli_permissions.conf: deny option does not work for disallowing shell commands","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Asterisk es una centralita privada (PBX) de código abierto. En versiones anteriores a las 18.26.2, 20.14.1, 21.9.1 y 22.4.1 de Asterisk, y a las 18.9-cert14 y 20.7-cert5 de certified-asterisk, intentar impedir la ejecución de comandos de shell a través de la interfaz de línea de comandos (CLI) de Asterisk configurando `cli_permissions.conf` (por ejemplo, con la línea de configuración `deny=!*`) no funciona, lo que podría suponer un riesgo de seguridad. Si un administrador que ejecuta una instancia de Asterisk depende del archivo `cli_permissions.conf` para funcionar y espera que este deniegue todos los intentos de ejecutar comandos de shell, esto podría provocar una vulnerabilidad de seguridad. Las versiones 18.26.2, 20.14.1, 21.9.1 y 22.4.1 de Asterisk y las versiones 18.9-cert14 y 20.7-cert5 de certified-asterisk solucionan el problema.","source":"nvd"}],"published":"2025-05-22T16:56:28.937Z","modified":"2026-06-17T09:28:40.713Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 18.9-cert14","status":"affected"},{"version":">= 18.10, < 18.26.2","status":"affected"},{"version":">= 20.0, < 20.7-cert5","status":"affected"},{"version":">= 20.8, < 20.14.1","status":"affected"},{"version":">= 21.0, < 21.9.1","status":"affected"},{"version":">= 22.0, < 22.4.1","status":"affected"}],"vendor":"asterisk","product":"asterisk","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"18.26.2"},{"status":"affected","introduced":"20.0.0","fixed":"20.14.1"},{"status":"affected","introduced":"21.0.0","fixed":"21.9.1"},{"status":"affected","introduced":"22.0.0","fixed":"22.4.1"}],"vendor":"sangoma","product":"asterisk","cpe":"cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"18.9"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"},{"status":"affected","version":"20.7"}],"vendor":"sangoma","product":"certified_asterisk","cpe":"cpe:2.3:a:sangoma:certified_asterisk:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-c7p6-7mvq-8jq2","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/06/msg00003.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-22T17:24:44.875Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-47780","url":"https://www.cve.org/CVERecord?id=CVE-2025-47780","licence":"CVE Terms of Use","modified":"2025-11-03T20:04:38.254Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-47780","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47780","licence":"Public domain","modified":"2026-06-17T09:28:40.713Z"}],"updatedAt":"2026-11-25T22:58:58.399Z","epss":{"score":0.00276,"percentile":0.21432,"date":"2026-12-01T12:00:22.000Z"}}