Asterisk Unsafe Shell Sourcing in safe_asterisk Leads to Local Privilege Escalation
概要
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.
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の修正パッケージ
- Debian DEBIAN-CVE-2025-1131 asterisk 修正版: 1:16.28.0~dfsg-0+deb11u8
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web lists.debian.org