Skip to content

hustoj

HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE

CVE-2026-24479Published 27 Jan 2026, 00:43 UTC

Real-world risk

10.0/ 10Critical

Act now

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.3

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
hustojNiche< 26.01.2426.01.24

What to do

Update to a fixed version: 26.01.24.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Exploit-DB entry (link)
  • Metasploit module (link)

EPSS 8.1% chance of exploitation in 30 days (percentile 95), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T4: Weaponized1.000
  3. 10 × impact 1 × prerequisites 1 × threat 110.000
  4. Rounded to one decimal between 0.1 and 1010.0

How the score works

Exploitation and evidence timeline

  1. 27 Jan 2026 Published
  2. 3 Dec 2026 Exploit-DB entry first seen
  3. 3 Dec 2026 Metasploit module first seen
  4. 3 Dec 2026 Risk 10.0 (cvss fallback)

Weakness

CWE-22

References

Get alerts for hustoj

Free email or text alerts when a vulnerability in hustoj reaches risk 8 or higher. Nothing else.