CVE-2026-24479
HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE
CRITICAL 9.3EPSS 8.3%
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.
- Affected
- zhblue · hustoj
- CVSS v4.0 GITHUB
- 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS v3.1 NVD
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 8.25% chance of exploitation in the next 30 days, 95th percentile
- Published
- 2026-01-27
Metasploit modules (1)
ExploitDB entries (1)
Security advisories
- zhblue/hustoj/security/advisories/GHSA-xmgg-2rw4-7fxj
- zhblue/hustoj/commit/902bd09e6d0011fe89cd84d4236899314b33101f