CVE-2025-1131
asterisk - security update
7.8
HIGH
CVSS 3.1
EPSS 0.05%
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.
How to fix CVE-2025-1131
To remediate CVE-2025-1131, upgrade the affected package to a fixed version below.
- —upgrade to 1:16.28.0~dfsg-0+deb11u8 or later
- —upgrade to 1:16.28.0~dfsg-0+deb11u8 or later
Is CVE-2025-1131 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1:16.28.0~dfsg-0+deb11u8
- from 0, < 1:16.28.0~dfsg-0+deb11u8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |