Asterisk
Asterisk vulnerable to potential privilege escalation
Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2, when ast_coredumper writes its gdb init and output files to a directory that is world-writable (for example /tmp), an attacker with write permission(which is all users on a linux system) to that directory can cause root to execute arbitrary commands or overwrite arbitrary files by controlling the gdb init file and output paths. This issue has been patched in versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 23.2.2
- < 22.8.2
- < 21.12.1
- < 20.18.2
- < 20.7-cert9
Fixed in 23.2.2, 22.8.2, 21.12.1, 20.18.2, 20.7-cert9
Mitigation
Upgrade asterisk to 23.2.2 or 22.8.2 or 21.12.1 or 20.18.2 or 20.7-cert9 or later.
References
- Vendor advisory github.com/asterisk/asterisk/security/advisori…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.