CVE-2025-1131
Last modified
CVE-2025-1131 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:C/RE:H/U:Amber
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Sangoma | Asterisk | < 18.26.3 | — |
| Sangoma | Asterisk | >= 20.0.0, < 20.15.1 | — |
| Sangoma | Asterisk | >= 21.0.0, < 21.10.1 | — |
| Sangoma | Asterisk | >= 22.0.0, < 22.5.1 | — |
| Sangoma | Certified Asterisk | 18.9 | Cert1 |
| Sangoma | Certified Asterisk | 20.7 | Cert1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-1131?
How severe is CVE-2025-1131?
How do I fix CVE-2025-1131?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-11304A flaw has been found in CodeCanyon/ui-lib Mentor LMS up to …6.3
- CVE-2025-11305A vulnerability has been found in UTT HiPER 840G up to 3.1.1…8.8
- CVE-2025-11306A vulnerability was found in qianfox FoxCMS up to 1.2. This …6.1
- CVE-2025-11307The WP Go Maps (formerly WP Google Maps) WordPress plugin be…8.8
- CVE-2025-11308A vulnerability was identified in Vanderlande Baggage 360 7.…3.5
- CVE-2025-11309A security flaw has been discovered in Tipray 厦门天锐科技股份有限公司 D…9.8
- CVE-2025-11310A weakness has been identified in Tipray 厦门天锐科技股份有限公司 Data L…9.8
- CVE-2025-11311A security vulnerability has been detected in Tipray 厦门天锐科技股…9.8
- CVE-2025-11312A vulnerability was detected in Tipray 厦门天锐科技股份有限公司 Data Lea…9.8
- CVE-2025-11313A flaw has been found in Tipray 厦门天锐科技股份有限公司 Data Leakage Pr…9.8
- CVE-2025-11314A vulnerability has been found in Tipray 厦门天锐科技股份有限公司 Data L…9.8
- CVE-2025-11315A vulnerability was found in Tipray 厦门天锐科技股份有限公司 Data Leakag…9.8
Are you affected by CVE-2025-1131?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
