जमा करें #1056376: zhblue HUSTOJ since 513d11cb2 up to 7a03238 OS Command Injectionजानकारी

शीर्षकzhblue HUSTOJ since 513d11cb2 up to 7a03238 OS Command Injection
विवरणHUSTOJ supports a "NOIP-style" per-testcase file renaming feature: if the files /home/judge/data/<problem_id>/input.name (and output.name) exist, their contents are read by the judge and used as file-name arguments for shell commands executed while preparing test cases. The content is attacker-controlled data; it is passed to execute_cmd(), which builds a /bin/sh command line by string concatenation without quoting the argument. execute_cmd() runs as root (judge_client does not drop privileges for its own helper commands), so any shell metacharacter in the content of input.name executes with uid 0 on the judge host the next time any user submits a solution to that problem.
स्रोत⚠️ https://gist.github.com/haoran37/9a6cfd4d0b892cf5f55c79a6af0c06e7
उपयोगकर्ता
 _37_ (UID 102491)
सबमिशन25/10/2026 08:20 PM (30 दिन पहले)
संयम24/11/2026 10:11 AM (30 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि442783 [zhblue hustoj तक 26.08.19 judge_client.cc prepare_files अधिकार वृद्धि]
अंक20

Want to know what is going to be exploited?

We predict KEV entries!