CVE-2024-29192

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-29192
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-29192.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-29192
Aliases
Published
2024-04-04T18:15:14Z
Modified
2025-01-15T05:11:31.570211Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/alexxit/go2rtc

Affected ranges

Type
GIT
Repo
https://github.com/alexxit/go2rtc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1-alpha.1
v0.1-alpha.10
v0.1-alpha.11
v0.1-alpha.2
v0.1-alpha.3
v0.1-alpha.4
v0.1-alpha.5
v0.1-alpha.6
v0.1-alpha.7
v0.1-alpha.8
v0.1-alpha.9
v0.1-beta.1
v0.1-beta.10
v0.1-beta.2
v0.1-beta.3
v0.1-beta.4
v0.1-beta.5
v0.1-beta.6
v0.1-beta.7
v0.1-beta.8
v0.1-beta.9
v0.1-rc.1
v0.1-rc.2
v0.1-rc.3
v0.1-rc.4
v0.1-rc.5
v0.1-rc.6
v0.1-rc.7
v0.1-rc.8
v0.1-rc.9

v1.*

v1.0.0
v1.0.1
v1.1.0
v1.1.1
v1.1.2
v1.2.0
v1.3.0
v1.3.1
v1.3.2
v1.4.0
v1.5.0
v1.6.0
v1.6.1
v1.6.2
v1.7.0
v1.7.1
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.8.5