CVE-2024-29882
SRS DOM - XSS on JSONP callback
Record summary
CVE-2024-29882 has a selected CVSS score of 7.2 (high); EIP currently links 1 Nuclei template.
Description
SRS is a simple, high-efficiency, real-time video server. SRS's `/api/v1/vhosts/vid-<id>?callback=<payload>` endpoint didn't filter the callback function name which led to injecting malicious javascript payloads and executing XSS ( Cross-Site Scripting). This vulnerability is fixed in 5.0.210 and 6.0.121.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Mar 28, 2024 · Source: CVE List
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
simple_realtime_serverBrowse ossrs / simple_realtime_serverDefault status: unknown | CVE List | Before 5.0.210 | affected |
| 6.0.0 to < 6.0.121 | affected | ||
| CVE List | < 5.0.210 | affected | |
| >= 6.0.0, < 6.0.121 | affected |
Nuclei templates
1ProjectDiscoveryHIGHHTTP API DOM - XSS on JSONP callbackCVSS 7.2
SRS is a simple, high-efficiency, real-time video server. SRS's `/api/v1/vhosts/vid-<id>?callback=<payload>` endpoint didn't filter the callback function name which led to injecting malicious javascript payloads and executing XSS ( Cross-Site Scripting). This vulnerability is fixed in 5.0.210 and 6.0.121.
Impact
Attackers can execute arbitrary JavaScript in the context of the victim's browser, potentially leading to session hijacking or defacement.
Remediation
Upgrade Simple Realtime Server (SRS) to version 5.0.210, 6.0.121, or later that properly sanitizes the JSONP callback parameter.
Source: ProjectDiscovery