Skip to main content
← All vulnerabilities
CVE-2024-31450GHSA-9355-27M8-H74VGO-2024-2741

Owncast vulnerable to arbitrary file deletion in emoji.go (GHSL-2023-277)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.1.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • owncast owncast

    fixed in 0.1.3

  • github.com/owncast/owncastGo

    fixed in 0.1.3

References 4

securitylab.github.com

GitHub · owncast/owncast