Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

CVE-2025-1131

Gravedad CVSS v4.0:
ALTA
Tipo:
CWE-427 Elemento no controlado en la ruta de búsqueda
Fecha de publicación:
23/09/2025
Última modificación:
03/11/2025

Descripción

*** Pendiente de traducción *** 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.<br /> <br /> <br /> 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.

Productos y versiones vulnerables

CPE Desde Hasta
cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:* 18.26.3 (excluyendo)
cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:* 20.0.0 (incluyendo) 20.15.1 (excluyendo)
cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:* 21.0.0 (incluyendo) 21.10.1 (excluyendo)
cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:* 22.0.0 (incluyendo) 22.5.1 (excluyendo)
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:*:*:*:*:*:*