CVE-2024-48931
CVSS V2 None
CVSS V3 None
Description
ZimaOS is a fork of CasaOS, an operating system for Zima devices and x86-64 systems with UEFI. In version 1.2.4 and all prior versions, the ZimaOS API endpoint `http://<Zima_Server_IP:PORT>/v3/file?token=<token>&files=<file_path>` is vulnerable to arbitrary file reading due to improper input validation. By manipulating the `files` parameter, authenticated users can read sensitive system files, including `/etc/shadow`, which contains password hashes for all users. This vulnerability exposes critical system data and poses a high risk for privilege escalation or system compromise. The vulnerability occurs because the API endpoint does not validate or restrict file paths provided via the `files` parameter. An attacker can exploit this by manipulating the file path to access sensitive files outside the intended directory. As of time of publication, no known patched versions are available.
Overview
- CVE ID
- CVE-2024-48931
- Assigner
- GitHub_M
- Vulnerability Status
- PUBLISHED
- Published Version
- 2024-10-24T20:49:44.077Z
- Last Modified Date
- 2024-10-24T20:49:44.077Z
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://github.com/IceWhaleTech/ZimaOS/security/advisories/GHSA-hjw2-9gq5-qgwj | x_refsource_CONFIRM |
https://youtu.be/FyIfcmCyDXs | x_refsource_MISC |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2024-48931 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-48931 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-10-25 13:11:52 | Added to TrackCVE |