Technical impact
The vulnerability lies in the Asterisk REST Interface (ARI) setChannelVar function, which incorrectly permits authorized read‑only ARI users to invoke write dialplan commands, notably FILE() writes, even when the configuration value live_dangerously is set to no. This flaw allows an attacker with only read‑only ARI credentials to write arbitrary files to the Asterisk host, potentially enabling the execution of malicious code or further system compromise. The weakness effectively subverts the intended read‑only restriction and can lead to significant confidentiality, integrity and availability damage.
Affected Systems
All Asterisk and Certified Asterisk releases that precede the patch versions 20.20.1, 21.12.3, 22.10.1, 23.4.1, 20.7‑cert11 and 22.8‑cert3 are vulnerable. In other words, any version older than these fix releases is affected. Versions equal to or newer than the listed patches are not vulnerable. The status of later development releases such as 24.0.0‑pre1 is not explicitly documented in the advisory.
Risk and Exploitability
The CVSS score of 8.1 indicates a high‑severity problem. The EPSS score of 0.0044 indicates a very low likelihood of exploitation, but the flaw would still only be exploitable by attackers who can reach the Asterisk HTTP server and possess valid read‑only ARI credentials. The system is not listed in the CISA KEV catalog, suggesting there have been no widely exploited incidents so far. Nevertheless, because the flaw permits arbitrary file creation, a motivated attacker could easily develop further compromise paths, and the required conditions—an enabled HTTP interface with reachable ARI endpoints—are typical in many deployments.