Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-9355-27m8-h74v: 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.

ghsa
#vulnerability#js#git

Package

gomod github.com/owncast/owncast (Go)

Affected versions

< 0.1.3

Patched versions

0.1.3

Description

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

  • https://nvd.nist.gov/vuln/detail/CVE-2024-31450
  • owncast/owncast@1b14800
  • 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

Published by the National Vulnerability Database

Apr 19, 2024

Published to the GitHub Advisory Database

Aug 5, 2024

Reviewed

Aug 5, 2024

ghsa: Latest News

GHSA-w5rq-g9r6-vrcg: @dapperduckling/keycloak-connector-server has Reflected XSS Vulnerability in Authentication Flow URL Handling