CVE-2026-57196

Asterisk: Reflected XSS in Phone Provisioning HTTP Error Pages

Published Oct 26, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
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 20.7-cert11, 22.8-cert3, an unauthenticated attacker may use reflected cross-site scripting in `phone provisioning HTTP error pages` to retrieve an authorized user's `AMI session cookie` and impersonate that user when `res_phoneprov` is enabled. The Asterisk HTTP web server, Asterisk Manager Interface (AMI), and AMI access via HTTP must all be enabled; each is disabled by default. The attacker must be able to connect to the HTTP server, which binds only to `127.0.0.1` by default even when enabled, and must convince the authorized user to click a malicious link. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.

Analysis

AI-generated

Technical impact

The vulnerability is a reflected cross‑site scripting flaw in Asterisk’s phone provisioning HTTP error pages. An unauthenticated attacker can embed malicious JavaScript which runs in the context of a logged‑in AMI user’s browser, allowing the attacker to read the AMI session cookie from the page and impersonate the user for AMI operations.

Affected Systems

Affected are Asterisk and Certified Asterisk releases earlier than 20.20.1, 21.12.3, 22.10.1, 23.4.1 and before Certified 20.7‑cert11 and 22.8‑cert3. The components required to be enabled are the Asterisk HTTP web server, the AMI interface, and AMI over HTTP. All of these are disabled by default and the web server normally binds to 127.0.0.1 unless an administrator explicitly enables it.

Risk and Exploitability

The CVSS score of 2.3 denotes low severity. The exploitation requires direct connectivity to the Asterisk HTTP server, which by default listens only on localhost, and a social‑engineering element – the victim must click a malicious link. Because the attack is not automated, the EPSS score is not reported and the vulnerability is not listed in the CISA KEV catalog. Consequently the risk remains low for correctly configured installations but may rise if the HTTP server or AMI is exposed to untrusted networks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a patched Asterisk release (20.20.1 or newer, 21.12.3 or newer, etc.).
  • If an update is not possible, disable the Asterisk HTTP web server and the AMI interface or configure them to bind only to localhost.
  • Disable the res_phoneprov module or restrict phone provisioning to trusted networks and users, and ensure proper output validation, especially for XSS mitigations in web interfaces.

Generated by OpenCVE AI on October 26, 2026 at 20:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Asterisk
Asterisk asterisk
Asterisk certified Asterisk
Vendors & Products Asterisk
Asterisk asterisk
Asterisk certified Asterisk
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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 20.7-cert11, 22.8-cert3, an unauthenticated attacker may use reflected cross-site scripting in `phone provisioning HTTP error pages` to retrieve an authorized user's `AMI session cookie` and impersonate that user when `res_phoneprov` is enabled. The Asterisk HTTP web server, Asterisk Manager Interface (AMI), and AMI access via HTTP must all be enabled; each is disabled by default. The attacker must be able to connect to the HTTP server, which binds only to `127.0.0.1` by default even when enabled, and must convince the authorized user to click a malicious link. This issue is fixed in Asterisk 20.20.1, 21.12.3, 22.10.1, 23.4.1 and Certified Asterisk 20.7-cert11, 22.8-cert3.
Title Asterisk: Reflected XSS in Phone Provisioning HTTP Error Pages
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 26, 2026, 8:13 PM
Reserved
Jun 24, 2026, 2:00 AM
Status
Awaiting Analysis
Published
Oct 26, 2026, 8:17 PM
Modified
Oct 27, 2026, 3:08 PM
Severity
Moderate
Public date
Oct 26, 2026, 7:27 PM