HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| zhblue | hustoj | before 26.01.24 | 26.01.24 | Patch available | CNA |
- hustoj Vendorzhblue Affected before 26.01.24 Fixed in 26.01.24 Patch available CNA
Remediation
- Fix · CNA hustoj (zhblue) Fixed in 26.01.24
Timeline
- 2026-10-02 Threatist record created from CVE-2026-24479
References
More Hustoj vulnerabilities
- TI-2025-32272 Cross site scripting (XSS) vulnerability in Hustoj 2025-01-31 via the TID parameter to thread.php. CVSS 3.1MEDIUM 6.1
- TI-2022-20442 Hustoj 22.09.22 has a XSS Vulnerability in /admin/problem_judge.php. CVSS 3.1MEDIUM 6.1
- TI-2026-19231 HUSTOJ is Vulnerable to Stored CSV Injection (Formula Injection) in Contest Rank Export CVSS 4.0MEDIUM 5.2
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences