cveboard RSS feed

CVE-2025-1131

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

Asterisk Unsafe Shell Sourcing in safe_asterisk Leads to Local Privilege Escalation

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Asterisk

Vendor
Asterisk
Product
Asterisk
Platforms
  • Linux
  • MacOS
Default status
unaffected
Asterisk · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
Asterisk <=18.26.2affectedcustomUnavailableUnavailableNone listed
Asterisk <= 20.15.0affectedcustomUnavailableUnavailableNone listed
Asterisk <= 21.10.0affectedcustomUnavailableUnavailableNone listed
Asterisk <= 22.5.0affectedcustomUnavailableUnavailableNone listed