Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS05MzU1LTI3bTgtaDc0ds4AA-Yv
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.
Permalink: https://github.com/advisories/GHSA-9355-27m8-h74vJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05MzU1LTI3bTgtaDc0ds4AA-Yv
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 4 months ago
Updated: 9 days ago
CVSS Score: 2.7
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
Identifiers: GHSA-9355-27m8-h74v, CVE-2024-31450
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-31450
- https://github.com/owncast/owncast/commit/1b14800c7d7f54be14ed4d130bfe7f480645076e
- https://github.com/owncast/owncast/blob/v0.1.2/controllers/admin/emoji.go#L63
- https://github.com/owncast/owncast/releases/tag/v0.1.3
- https://securitylab.github.com/advisories/GHSL-2023-277_Owncast
- https://github.com/advisories/GHSA-9355-27m8-h74v
Blast Radius: 0.0
Affected Packages
go:github.com/owncast/owncast
Dependent packages: 1Dependent repositories: 1
Downloads:
Affected Version Ranges: < 0.1.3
Fixed in: 0.1.3
All affected versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.1.0, 0.1.1, 0.1.2
All unaffected versions: 0.1.3