Asterisk: ARI REST-over-WebSocket read-only bypass allows arbitrary module path load and conditional RCE
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 20.20.1, 21.12.3, 22.10.1, 23.4.1, 22.8-cert3
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The Asterisk open source telephony toolkit (including Certified Asterisk) is affected through its ARI REST-over-WebSocket interface. An attacker holding read-only ARI credentials could bypass the restriction to perform write operations, which can allow loading arbitrary modules and, under certain conditions, running code remotely on the server.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
Asterisk is an open source private branch exchange and telephony toolkit. Prior to Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 22.8-cert3, an authenticated attacker with read-only permissions for the `Asterisk REST Interface (ARI)` may, under certain conditions, execute write operations through `REST-over-WebSocket`. The authorization bypass permits `arbitrary module path` loading and conditional remote code execution. The Asterisk HTTP web server must be enabled and reachable, and the attacker must already have valid `read-only ARI credentials`. HTTP is disabled by default and binds only to 127.0.0.1 by default even when enabled. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 22.8-cert3.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- asterisk asterisk
fixed in 20.20.1; From 21.0.0-pre1 · fixed in 21.12.3; From 22.0.0-pre1 · fixed in 22.10.1; From 23.0.0-pre1 · fixed in 23.4.1
- certified-asterisk certified-asterisk
From 22.8-cert1-pre1 · fixed in 22.8-cert3