github.com/owncast/owncast
Affected
- introduced
0, fixed0.1.3(semver)
Fixed versions
0.1.3
Fix
- Fixed version
0.1.3go get github.com/owncast/[email protected]
Advisory
Also known as: CVE-2024-31450, GO-2024-2741
Owncast Path Traversal vulnerability
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.
Medium Basis: The source's own band: MODERATE
0, fixed 0.1.3 (semver)0.1.3
0.1.3go get github.com/owncast/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0