{"cve":"CVE-2024-29192","nvd":{"published":"2024-04-04T18:15:14.523","modified":"2026-06-17T07:22:35.990","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-352"],"references":["https://github.com/AlexxIT/go2rtc/commit/8793c3636493c5efdda08f3b5ed5c6e1ea594fd9","https://securitylab.github.com/advisories/GHSL-2023-205_GHSL-2023-207_go2rtc/","https://github.com/AlexxIT/go2rtc/commit/8793c3636493c5efdda08f3b5ed5c6e1ea594fd9","https://securitylab.github.com/advisories/GHSL-2023-205_GHSL-2023-207_go2rtc/"],"products":["alexxit:go2rtc"],"source":"nvd","synced_at":"2026-10-19T21:48:32.179249784+00:00"},"epss":{"cve":"CVE-2024-29192","score":0.00471,"percentile":0.40783,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qgj8-g9q4-7f2p","url":"https://osv.dev/vulnerability/GHSA-qgj8-g9q4-7f2p","summary":"gotortc vulnerable to Cross-Site Request Forgery","modified":"2024-08-06T23:12:05.500665Z","packages":[{"ecosystem":"Go","name":"github.com/AlexxIT/go2rtc","purl":"pkg:golang/github.com/AlexxIT/go2rtc","ranges":["<1.9.0"],"fixed":["1.9.0"]}]},{"id":"GO-2024-3052","url":"https://osv.dev/vulnerability/GO-2024-3052","summary":"gotortc vulnerable to Cross-Site Request Forgery in github.com/AlexxIT/go2rtc","modified":"2026-03-03T04:55:40.687945Z","packages":[{"ecosystem":"Go","name":"github.com/AlexxIT/go2rtc","purl":"pkg:golang/github.com/AlexxIT/go2rtc","ranges":["<1.9.0"],"fixed":["1.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}