CVE-2024-31450

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-31450
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31450.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-31450
Aliases
Published
2024-04-19T19:15:06Z
Modified
2025-07-01T15:51:41.481237Z
Summary
[none]
Details

Owncast is an open source, self-hosted, decentralized, single user live video streaming and chat server. The Owncast application exposes an administrator API at the URL /api/admin. The emoji/delete endpoint of said API allows administrators to delete custom emojis, which are saved on disk. The parameter name is taken from the JSON request and directly appended to the filepath that points to the emoji to delete. By using path traversal sequences (../), attackers with administrative privileges can exploit this endpoint to delete arbitrary files on the system, outside of the emoji directory. This vulnerability is fixed in 0.1.3.

References

Affected packages

Git / github.com/owncast/owncast

Affected ranges

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

Affected versions

v0.*

v0.0.1
v0.0.11
v0.0.12
v0.0.2
v0.0.3
v0.0.4
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.0.9
v0.1.0
v0.1.1
v0.1.2