Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2019-17538 β€” AI Deep Analysis Summary

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).

Q3Who is affected? (Versions/Components)

🎯 **Affected Product**: Jiangnan Online Judge (JNOJ). πŸ“¦ **Version**: Specifically **0.8.0**. 🏒 **Vendor**: Not specified (n/a).

Q4What can hackers do? (Privileges/Data)

πŸ’» **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`.…

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ” **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.