{"id":"CVE-2024-48931","aliases":["CVE-2024-48931"],"related":[],"kind":"vulnerability","state":"published","title":"ZimaOS Arbitrary File Read via Parameter Manipulation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"ZimaOS es una bifurcación de CasaOS, un sistema operativo para dispositivos Zima y sistemas x86-64 con UEFI. En la versión 1.2.4 y todas las versiones anteriores, el endpoint de la API de ZimaOS `http:///v3/file?token=&amp;files=` es vulnerable a la lectura arbitraria de archivos debido a una validación de entrada incorrecta. Al manipular el parámetro `files`, los usuarios autenticados pueden leer archivos confidenciales del sistema, incluido `/etc/shadow`, que contiene hashes de contraseñas para todos los usuarios. Esta vulnerabilidad expone datos críticos del sistema y plantea un alto riesgo de escalada de privilegios o compromiso del sistema. La vulnerabilidad se produce porque el endpoint de la API no valida ni restringe las rutas de archivo proporcionadas a través del parámetro `files`. Un atacante puede explotar esto manipulando la ruta del archivo para acceder a archivos confidenciales fuera del directorio previsto. Al momento de la publicación, no hay versiones parcheadas conocidas disponibles.","source":"nvd"}],"published":"2024-10-24T20:49:44.077Z","modified":"2026-06-17T07:59:04.557Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"<= 1.2.4","status":"affected"}],"vendor":"IceWhaleTech","product":"ZimaOS","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"1.2.4","status":"affected"}],"vendor":"icewhaletech","product":"zimaos","cpe":"cpe:2.3:o:icewhaletech:zimaos:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.2.5"}],"vendor":"zimaspace","product":"zimaos","cpe":"cpe:2.3:a:zimaspace:zimaos:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/IceWhaleTech/ZimaOS/security/advisories/GHSA-hjw2-9gq5-qgwj","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://youtu.be/FyIfcmCyDXs","tags":["exploit","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-10-25T17:32:44.692Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-48931","url":"https://www.cve.org/CVERecord?id=CVE-2024-48931","licence":"CVE Terms of Use","modified":"2024-10-25T17:33:10.960Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-48931","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48931","licence":"Public domain","modified":"2026-06-17T07:59:04.557Z"}],"updatedAt":"2026-11-25T22:58:47.280Z","epss":{"score":0.00712,"percentile":0.54798,"date":"2026-12-01T12:00:22.000Z"}}