CVE-2025-47780: cli_permissions.conf: deny option does not work for disallowing shell commands

Published May 22, 2025
·
Updated

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 clipermissions.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 clipermissions.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.

Affected Software

30 affected components
Asterisk Asterisk<18.26.2, <20.14.1, <21.9.1, <22.4.1
Asterisk certified-asterisk<18.9-cert14, <20.7-cert5
Sangoma Asterisk<18.26.2
Sangoma Asterisk>=20.0.0<20.14.1
Sangoma Asterisk>=21.0.0<21.9.1
Sangoma Asterisk>=22.0.0<22.4.1
Sangoma Certified Asterisk<18.9
Sangoma Certified Asterisk=18.9
Sangoma Certified Asterisk=18.9-cert1
Sangoma Certified Asterisk=18.9-cert1-rc1
Sangoma Certified Asterisk=18.9-cert10
Sangoma Certified Asterisk=18.9-cert11
Sangoma Certified Asterisk=18.9-cert12
Sangoma Certified Asterisk=18.9-cert13
Sangoma Certified Asterisk=18.9-cert2
Sangoma Certified Asterisk=18.9-cert3
Sangoma Certified Asterisk=18.9-cert4
Sangoma Certified Asterisk=18.9-cert5
Sangoma Certified Asterisk=18.9-cert6
Sangoma Certified Asterisk=18.9-cert7
Sangoma Certified Asterisk=18.9-cert8
Sangoma Certified Asterisk=18.9-cert8-rc1
Sangoma Certified Asterisk=18.9-cert8-rc2
Sangoma Certified Asterisk=18.9-cert9
Sangoma Certified Asterisk=20.7-cert1
Sangoma Certified Asterisk=20.7-cert1-rc1
Sangoma Certified Asterisk=20.7-cert1-rc2
Sangoma Certified Asterisk=20.7-cert2
Sangoma Certified Asterisk=20.7-cert3
Sangoma Certified Asterisk=20.7-cert4

Event History

May 22, 2025
CVE Published
via MITRE·04:56 PM
Data Sourced
via MITRE·04:56 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-47780?

CVE-2025-47780 is considered a critical vulnerability due to its potential to allow shell commands to be executed via the Asterisk CLI.

2

How do I fix CVE-2025-47780?

To fix CVE-2025-47780, upgrade to Asterisk versions 18.26.2, 20.14.1, 21.9.1, 22.4.1, or certified-asterisk versions 18.9-cert14, 20.7-cert5 or later.

3

Which versions of Asterisk are affected by CVE-2025-47780?

Asterisk versions prior to 18.26.2, 20.14.1, 21.9.1, 22.4.1, and certified-asterisk versions before 18.9-cert14 and 20.7-cert5 are affected by CVE-2025-47780.

4

What types of attacks can exploit CVE-2025-47780?

CVE-2025-47780 can be exploited to execute arbitrary shell commands, which may lead to unauthorized access or control over the Asterisk system.

5

Is CVE-2025-47780 related to specific configurations in Asterisk?

Yes, CVE-2025-47780 primarily affects systems where command line interface restrictions are not properly enforced in Asterisk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203