Technical impact
Asterisk’s ast_loggrabber executes a Python script located in the world‑writable "/tmp" directory. The vulnerability stems from improper file permissions (CWE‑426) that allow a locally authenticated attacker to drop a malicious script into "/tmp" and then trigger ast_loggrabber as a privileged user, resulting in elevation of privileges or execution of arbitrary code on the host system.
Affected Systems
Vulnerable to all Asterisk releases before 20.20.1, 21.12.3, 22.10.1, 23.4.1 and the certified releases 20.7‑cert11 and 22.8‑cert3. Affected packages include asterisk:asterisk and asterisk:certified-asterisk.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity. EPSS is not available and the vulnerability is not listed in CISA KEV, suggesting limited public exploitation. The attack requires local system access with the ability to write to "/tmp"; thus the threat is significant if an attacker can gain an authenticated shell session or otherwise write to the directory. Privileged execution of ast_loggrabber will allow the attacker to run arbitrary code as the user running the command, potentially gaining full system control.