HIGH🇵🇱 Wersja polska

CVE-2025-1131

CVSS 7.0v4.0pub. 2025-09-23upd. 2025-11-03

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.

CVSS Vector
CVSS: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
  • Sangoma Asterisk

    APP
    Sangoma
    < 18.26.320.0.0 – 20.15.1 (bez)21.0.0 – 21.10.1 (bez)22.0.0 – 22.5.1 (bez)
  • Sangoma Certified Asterisk

    APP
    Sangoma
    18.920.7
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
LPE
CWE
References

Related vulnerabilities

CVE-2024-57520CRITICAL9.8PL ✓ten sam produkt

Insecure Permissions w Sangoma Asterisk v22 — tworzenie plików poza katalogiem aplikacji

CVE-2022-21723CRITICAL9.1ten sam produkt

PJSIP is a free and open source multimedia communication library written in C language implementing standard b...

CVE-2025-57767HIGH7.5ten sam produkt

Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.15.2, 21.10.2, ...

CVE-2025-47779HIGH7.7ten sam produkt

Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.26.2, 20.14.1, 21.9.1, and 22.4...

CVE-2023-49786HIGH7.5ten sam produkt

Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk prior to versions 18.20....