🇰🇷 한글 설명
ZimaOS 1.2.4 및 이전 버전에서 API 엔드포인트의 입력값 검증 미흡으로 인해 임의 파일 읽기 취약점이 존재합니다. 인증된 사용자가 'files' 파라미터를 조작하여 /etc/shadow와 같은 민감한 시스템 파일을 읽을 수 있으며, 이는 권한 상승 및 시스템 침해로 이어질 수 있습니다.
💡 쉬운 설명
ZimaOS를 사용하는 사람이 시스템의 중요한 비밀 파일들을 몰래 훔쳐볼 수 있는 보안 구멍이 발견되었습니다. 이 파일을 통해 해커가 관리자 권한을 얻어 시스템 전체를 장악할 위험이 있습니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
ZimaOS 1.2.4 및 모든 이전 버전
⚔️ 공격 벡터
인증된 사용자가 API 요청의 'files' 파라미터에 경로 조작(Path Traversal)을 사용하여 민감한 파일 경로를 입력함
🛡️ 대응 방법
제조사의 보안 패치 업데이트가 출시될 때까지 해당 API 접근을 제한하거나 네트워크 접근 제어를 강화하십시오.