{"id":"MSF-linux--http--hustoj_problem_import_rce","name":"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE","description":"A user with administrative privileges can abuse the problem_import_qduoj.php CGI script using a crafted zip file (zip-slip) to traverse backwards through the filesystem, then to the webroot, where they can extract a PHP file that spawns a shell to get full RCE in the context of the webserver.","cves":["CVE-2026-24479"],"author":"oxagast, LoTuS and friends, ling101w","published":"2026-01-26","platform":"Linux","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/linux/http/hustoj_problem_import_rce.rb","path":"modules/exploits/linux/http/hustoj_problem_import_rce.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"hustoj_problem_import_rce.rb","vulnerabilities":[{"id":"CVE-2026-24479","state":"PUBLISHED","title":"HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE","titleSource":"CVE Program","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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-24479","cvss":{"version":"4.0","baseScore":9.3,"severity":"critical","vectorString":"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","source":"GitHub_M","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-24479"},"updatedAt":"2026-01-27T14:42:04.040Z","retrievedAt":"2026-11-25T16:15:50.619Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-linux--http--hustoj_problem_import_rce.png?v=2","url":"https://exploitbin.com/exploits/MSF-linux--http--hustoj_problem_import_rce","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--http--hustoj_problem_import_rce/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--http--hustoj_problem_import_rce/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}