CVE-2025-1131 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.
영향 받는 제품 제품 2개
-
Asterisk
Asterisk
영향 받는 버전
- 버전 정보 확인 필요
해결 버전
해결된 버전 정보가 없습니다.
-
NVD 기준 해결 버전 있음
sangoma
asterisk
영향 받는 버전
- 18.26.3 미만
- 20.0.0 이상 20.15.1 미만
- 21.0.0 이상 21.10.1 미만
- 22.0.0 이상 22.5.1 미만
해결 버전
- 18.26.3 이상
- 20.15.1 이상
- 21.10.1 이상
- 22.5.1 이상