Vulnerability

CVE-2025-1131

highCVSS 4.0 7.0Published 23 Sep 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Sangoma asterisk, certified asterisk

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning