{
  "id": "CVE-2026-24479",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-24479",
  "published_at": "2026-01-27T00:43:42.799Z",
  "title": "HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE",
  "vendor": "zhblue",
  "product": "hustoj",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-02-13T11:08:31Z",
    "first_seen_at": null,
    "days_after_publication": 17.4,
    "source": "metasploit",
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/hustoj_problem_import_rce.rb"
  },
  "poc_repo_count": 0,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:hustoj:hustoj:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.3,
    "nvd": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "zhblue",
        "product": "hustoj",
        "ranges": [
          "\u003c 26.01.24"
        ],
        "fixed_in": [
          "26.01.24"
        ]
      }
    ],
    "upgrade": [
      "Upgrade hustoj to 26.01.24 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/zhblue/hustoj/security/advisories/GHSA-xmgg-2rw4-7fxj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/zhblue/hustoj/commit/902bd09e6d0011fe89cd84d4236899314b33101f"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52539",
      "source": "exploitdb",
      "title": "HUSTOJ Zip-Slip v26.01.24 -  RCE",
      "published_at": "2026-04-30T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/hustoj_problem_import_rce.rb",
      "source": "metasploit",
      "title": "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)",
      "published_at": "2026-02-13T11:08:31Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
