A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolkit package. When Asterisk is started via this script (common in SysV init or FreePBX environments), it sources all .sh files located in /etc/asterisk/startup.d/ as root, without validating ownership or permissions.
Non-root users with legitimate write access to /etc/asterisk can exploit this behaviour by placing malicious scripts in the startup.d directory, which will then execute with root privileges upon service restart.
References
| Link | Resource |
|---|---|
| https://github.com/asterisk/asterisk/security/advisories/GHSA-v9q8-9j8m-5xwp | Exploit Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00006.html |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
History
03 Nov 2025, 18:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Information
Published : 2025-09-23 05:15
Updated : 2025-11-03 18:15
NVD link : CVE-2025-1131
Mitre link : CVE-2025-1131
CVE.ORG link : CVE-2025-1131
JSON object : View
Products Affected
sangoma
- asterisk
- certified_asterisk
CWE
CWE-427
Uncontrolled Search Path Element
