BaselineWatch
Desk

CVE-2025-1131

7.0 high SSVC exploitation: poc Modified

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.

Fix

Patch, vendor advisory and mitigation references on NVD 1

Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.

Change history 1

  1. First seenCVSS 7.0 · sangomaNVD modified 2026-10-19 16:10

Affected (CPE criteria) 27

  • cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1-rc1:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert10:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert11:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert12:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert13:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert14:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert15:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert2:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert3:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert4:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert5:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert6:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert7:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8-rc1:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8-rc2:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:18.9:cert9:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1-rc1:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1-rc2:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:20.7:cert2:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:20.7:cert3:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:20.7:cert4:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:20.7:cert5:*:*:*:*:*:*
  • cpe:2.3:a:sangoma:certified_asterisk:20.7:cert6:*:*:*:*:*:*

References 2