{"id":"CVE-2024-48931","published":"2024-10-24T20:49:44Z","modified":"2024-10-25T17:33:10Z","title":"ZimaOS Arbitrary File Read via Parameter Manipulation","vendor":"IceWhaleTech","product":"ZimaOS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00712,"percentile":0.54489,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/IceWhaleTech/ZimaOS/security/advisories/GHSA-hjw2-9gq5-qgwj","tags":["x_refsource_CONFIRM"]},{"url":"https://youtu.be/FyIfcmCyDXs","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":10.9},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"icewhaletech","affectedVersions":[{"vendor":"IceWhaleTech","product":"ZimaOS","versions":["<= 1.2.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-10-25T17:32:44.692550Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-43135","exploited":false,"provenance":"source"}}