Asterisk
Using malformed From header can forge identity with ";" or NULL in name portion
Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.26.2, 20.14.1, 21.9.1, and 22.4.1 of Asterisk and versions 18.9-cert14 and 20.7-cert5 of certified-asterisk, SIP requests of the type MESSAGE (RFC 3428) authentication do not get proper alignment. An authenticated attacker can spoof any user identity to send spam messages to the user with their authorization token. Abuse of this security issue allows authenticated attackers to send fake chat messages can be spoofed to appear to come from trusted entities. Even administrators who follow Security best practices and Security Considerations can be impacted. Therefore, abuse can lead to spam and enable social engineering, phishing and similar attacks. Versions 18.26.2, 20.14.1, 21.9.1, and 22.4.1 of Asterisk and versions 18.9-cert14 and 20.7-cert5 of certified-asterisk fix the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 18.9-cert14
- >= 18.10, < 18.26.2
- >= 20.0, < 20.7-cert5
- >= 20.8, < 20.14.1
- >= 21.0, < 21.9.1
- >= 22.0, < 22.4.1
Fixed in 18.9-cert14, 18.26.2, 20.7-cert5, 20.14.1, 21.9.1, 22.4.1
Mitigation
Upgrade asterisk to 18.9-cert14 or 18.26.2 or 20.7-cert5 or 20.14.1 or 21.9.1 or 22.4.1 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.