GHSL-2023-206 gotortc Cross-Site Request Forgery vulnerability
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352.
Summary
gotortc is a camera streaming application. Versions 1.8.5 and prior are vulnerable to Cross-Site Request Forgery. The `/api/config` endpoint allows one to modify the existing configuration with user-supplied values. While the API is only allowing localhost to interact without authentication, an attacker may be able to achieve that depending on how go2rtc is set up on the upstream application, and given that this endpoint is not protected against CSRF, it allows requests from any origin (e.g. a "drive-by" attack) . The `exec` handler allows for any stream to execute arbitrary commands. An attacker may add a custom stream through `api/config`, which may lead to arbitrary command execution. In the event of a victim visiting the server in question, their browser will execute the requests against the go2rtc instance. Commit 8793c3636493c5efdda08f3b5ed5c6e1ea594fd9 adds a warning about secure API access.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| AlexxIT | go2rtc | up to 1.8.5 | — | No fix listed | CNA |
| — | github.com/AlexxIT/go2rtc (Go) | before 1.9.0 | 1.9.0 | Patch available | GHSA-qgj8-g9q4-7f2p |
- go2rtc VendorAlexxIT Affected up to 1.8.5 Fixed in — No fix listed CNA
- github.com/AlexxIT/go2rtc (Go) Vendor— Affected before 1.9.0 Fixed in 1.9.0 Patch available GHSA-qgj8-g9q4-7f2p
Remediation
- Fix · GHSA-qgj8-g9q4-7f2p github.com/AlexxIT/go2rtc (Go) Fixed in 1.9.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-29192
- 2026-10-03 Alias added: GHSA-qgj8-g9q4-7f2p
References
Advisory 2
More AlexxIT Go2rtc vulnerabilities
- TI-2024-19362 GHSL-2023-207 gotortc DOM-based Cross-site Scripting vulnerability CVSS 3.1MEDIUM 6.1
- TI-2024-19360 GHSL-2023-205 gotortc DOM-based Cross-site Scripting vulnerability CVSS 3.1MEDIUM 6.1
Sources
- CVE-2024-29192 · CVE Program
- CVE-2024-29192 · NVD
- FIRST EPSS
- GHSA-qgj8-g9q4-7f2p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences