CVE-2026-24479 HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE
HUSTOJ는 RCE로 이어지는 문제 가져 오기 모듈에서 임의의 파일 쓰기 (Zip Slip)를 가지고 있습니다.
설명
HUSTOF is an open source online judge based on PHP/C++/MySQL/Linux for ACM/ICPC and NOIP training. Prior to version 26.01.24, the problem_import_qduoj.php and problem_import_hoj.php modules fail to properly sanitize filenames within uploaded ZIP archives. Attackers can craft a malicious ZIP file containing files with path traversal sequences (e.g., ../../shell.php). When extracted by the server, this allows writing files to arbitrary locations in the web root, leading to Remote Code Execution (RCE). Version 26.01.24 contains a fix for the issue.
HUSTOF는 PHP/C++/MySQL/Linux for ACM/ICPC 및 NOIP 교육을 기반으로 하는 오픈 소스 온라인 심사 위원입니다. 버전 26.01.24 이전, problem_import_qduoj.php 및 problem_import_hoj.php 모듈은 업로드 된 ZIP 아카이브 내에서 제대로 파일 이름을 위생화하지 못합니다. 공격자는 경로 횡단 시퀀스(예: .././shell.php)가 있는 파일을 포함하는 악성 ZIP 파일을 만들 수 있습니다. 서버에 의해 추출될 때, 이것은 웹 루트의 임의의 위치에 파일을 기록하는 것을 허용하며, 원격 코드 실행(RCE)으로 이어진다. 버전 26.01.24에는 이 문제에 대한 수정 사항이 포함되어 있습니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
zhblue
hustoj
영향 받는 버전
- 26.01.24 미만
해결 버전
- 26.01.24 이상