CVE-2024-31450
Owncast Project Owncast 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.
Affected products
Owncast. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Owncast Project Owncast runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/owncast/owncast/commit/1b14800c7d7f54be14ed4d130bfe7f480645076e · Patch
- securitylab.github.com/advisories/GHSL-2023-277_Owncast/ · Exploit
- github.com/owncast/owncast/blob/v0.1.2/controllers/admin/emoji.go#L63
- github.com/owncast/owncast/releases/tag/v0.1.3
- nvd.nist.gov/vuln/detail/CVE-2024-31450
- securitylab.github.com/advisories/GHSL-2023-277_Owncast
- github.com/advisories/GHSA-9355-27m8-h74v
- nvd.nist.gov/vuln/detail/CVE-2024-31450
- cve.org/CVERecord?id=CVE-2024-31450
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.