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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
asterisk asterisk
< 20.20.1affected>= 21.0.0-pre1, < 21.12.3affected>= 22.0.0-pre1, < 22.10.1affected>= 23.0.0-pre1, < 23.4.1affected
certified-asterisk certified-asterisk
>= 22.8-cert1-pre1, < 22.8-cert3affected
References
- https://github.com/asterisk/asterisk/security/advisories/GHSA-wcvv-g26m-wx5c ↗
- https://github.com/asterisk/asterisk/commit/051d29a0d35559e9165bab346de9422e25415533 ↗
- https://github.com/asterisk/asterisk/commit/205c301a0a0b0d013d4ebdf12856ebbc30405350 ↗
- https://github.com/asterisk/asterisk/commit/762b4c9c39b28fa5564112b0f484012298469a6c ↗
- https://github.com/asterisk/asterisk/commit/87641e9b2cd62c998c5283400ba77b61b5b07dd4 ↗
- https://github.com/asterisk/asterisk/commit/9d198a7d16ccba51507dfea6c1ecc511e89d698a ↗
- https://github.com/asterisk/asterisk/commit/c10cdbce072a708060cd38a89d6850808fe6bf46 ↗
- https://github.com/asterisk/asterisk/releases/tag/20.20.1 ↗
- https://github.com/asterisk/asterisk/releases/tag/21.12.3 ↗
- https://github.com/asterisk/asterisk/releases/tag/22.10.1 ↗
- https://github.com/asterisk/asterisk/releases/tag/23.4.1 ↗
- https://github.com/asterisk/asterisk/releases/tag/certified-22.8-cert3 ↗
- https://github.com/asterisk/asterisk/tree/24.0.0-pre1 ↗