Bug 2397550 (CVE-2025-1131) - CVE-2025-1131 asterisk: Asterisk Unsafe Shell Sourcing Leads to Local Privilege Escalation
Summary: CVE-2025-1131 asterisk: Asterisk Unsafe Shell Sourcing Leads to Local Privile...
Keywords:
Status: NEW
Alias: CVE-2025-1131
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2397952 2397953 2397956 2397957 2397958 2397959 2397960 2397961 2397962 2397963 2397954 2397955 2397964 2397965
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-23 05:01 UTC by OSIDB Bzimport
Modified: 2025-09-24 20:36 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-23 05:01:12 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.