This is a summary of the AI-generated 10-question deep analysis. The full version (longer answers, follow-up Q&A, related CVEs) requires login.
Read the full analysis โ
Q1What is this vulnerability? (Essence + Consequences)
๐จ **Essence**: A Path Traversal vulnerability in Jiangnan Online Judge (JNOJ). ๐ **Consequences**: Attackers can access files outside the restricted directory, potentially exposing sensitive system data or source code.
Q2Root Cause? (CWE/Flaw)
๐ก๏ธ **Root Cause**: Improper input validation. The system fails to filter special elements in file paths. ๐ **CWE**: Implicitly related to CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).
๐ป **Capabilities**: Local File Inclusion (LFI). ๐ **Impact**: Read arbitrary files from the server. โ ๏ธ **Risk**: Expose configuration files, source code, or sensitive user data located outside the web root.
Q5Is exploitation threshold high? (Auth/Config)
๐ **Threshold**: Low. ๐ **Access**: Likely requires no authentication for the specific endpoint `/web/polygon/problem/viewfile`.โฆ
๐ **Exploit**: Yes. Public PoC available via Nuclei templates. ๐ **Payload Example**: `web/polygon/problem/viewfile?id=1&name=../.` ๐ **Status**: Template exists in projectdiscovery/nuclei-templates.
Q7How to self-check? (Features/Scanning)
๐ **Check**: Scan for the endpoint `/web/polygon/problem/viewfile`. ๐งช **Test**: Inject `../` in the `name` parameter. ๐ **Indicator**: If the server returns content from outside the expected directory, it is vulnerable.
Q8Is it fixed officially? (Patch/Mitigation)
๐ง **Fix**: Upgrade to a patched version (if available). ๐ **Published**: Oct 13, 2019. ๐ **Note**: The data does not specify a fixed version number, only the vulnerable one (0.8.0).
Q9What if no patch? (Workaround)
๐ซ **Workaround**: Restrict web server access to the `/web/polygon/problem/` directory. ๐ **Mitigation**: Implement strict allow-listing for file names and block `../` sequences at the WAF or application level.
Q10Is it urgent? (Priority Suggestion)
โก **Priority**: Medium-High. ๐ **CVSS**: Not provided, but LFI is critical. ๐จ **Action**: Immediate verification required for any running JNOJ 0.8.0 instances. Patch or isolate immediately.