HUSTOJ
HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 26.01.24
Fixed in 26.01.24
Mitigation
Upgrade hustoj to 26.01.24 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 17 days after publication; not in CISA KEV. First PoC: Metasploit exploit: HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE (exploit/linux/http/hustoj_problem_import_rce) (Metasploit, 13 Feb 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | HUSTOJ Zip-Slip v26.01.24 - RCE | 30 Apr 2026 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE (exploit/linux/http/hustoj_problem_import_rce) | 13 Feb 2026 | 14 Nov 2026 |