CVE-2024-31450
LOW2.7EPSS 0.13%Owncast Path Traversal vulnerability
發布日:2024/8/5修改日:2024/11/18
描述
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.
受影響套件(2)
- Go/github.com/owncast/owncastfrom 0, < 0.1.3
- Go/github.com/owncast/owncastfrom 0, < 0.1.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | LOW2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L |
參考連結(7)
- ADVISORYhttps://github.com/advisories/GHSA-9355-27m8-h74v
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-31450
- ADVISORYhttps://securitylab.github.com/advisories/GHSL-2023-277_Owncast
- PATCHhttps://github.com/owncast/owncast
- WEBhttps://github.com/owncast/owncast/blob/v0.1.2/controllers/admin/emoji.go#L63
- WEBhttps://github.com/owncast/owncast/commit/1b14800c7d7f54be14ed4d130bfe7f480645076e
- WEBhttps://github.com/owncast/owncast/releases/tag/v0.1.3