cbcvebase.
CVE-2025-1131
published 2025-09-23

CVE-2025-1131: A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolkit package. When Asterisk is started via this…

PriorityP345high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.20%
10.0th percentile
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.

Affected

12 ranges
VendorProductVersion rangeFixed in
asteriskasterisk
asteriskasterisk
asteriskasterisk
asteriskasterisk
asteriskasterisk>= 0 < 1:16.28.0~dfsg-0+deb11u81:16.28.0~dfsg-0+deb11u8
debianasterisk< asterisk 1:16.28.0~dfsg-0+deb11u8 (bullseye)asterisk 1:16.28.0~dfsg-0+deb11u8 (bullseye)
sangomaasterisk< 18.26.318.26.3
sangomaasterisk>= 20.0.0 < 20.15.120.15.1
sangomaasterisk>= 21.0.0 < 21.10.121.10.1
sangomaasterisk>= 22.0.0 < 22.5.122.5.1
sangomacertified_asterisk
sangomacertified_asterisk

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv4.07.0HIGHCVSS: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
osv7.0HIGH
vendor_debian7.0HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.