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

Goal: 1000 CNY ยท Raised: 1336 CNY

100%

CVE-2018-14912 โ€” AI Deep Analysis Summary

Q1What is this vulnerability? (Essence + Consequences)

๐Ÿšจ **Essence**: CVE-2018-14912 is a **Directory Traversal** flaw in cgit. <br>๐Ÿ’ฅ **Consequences**: Attackers can read **arbitrary files** from the server.โ€ฆ

Q2Root Cause? (CWE/Flaw)

๐Ÿ” **Root Cause**: The `cgit_clone_objects` function fails to sanitize input. <br>๐Ÿ›‘ **Flaw**: It allows `../` sequences to escape the intended git objects directory.โ€ฆ

Q3Who is affected? (Versions/Components)

๐Ÿ“ฆ **Affected**: cgit versions **prior to 1.2.1**. <br>โš™๏ธ **Component**: The C-based Git web frontend. <br>๐ŸŒ **Scope**: Any instance running older versions with HTTP clone enabled.

Q4What can hackers do? (Privileges/Data)

๐Ÿ•ต๏ธ **Hackers Can**: Retrieve **any file** the web server process can read. <br>๐Ÿ“‚ **Data Impact**: Access to `/etc/passwd`, SSH keys, or internal git repositories.โ€ฆ

Q5Is exploitation threshold high? (Auth/Config)

โšก **Threshold**: **LOW**. <br>๐Ÿ”‘ **Auth**: No authentication required. <br>โš™๏ธ **Config**: Only requires `enable-http-clone=1` (default in many setups). <br>๐ŸŒ **Access**: Publicly accessible via URL manipulation.

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

๐Ÿ“ข **Public Exp?**: **YES**. <br>๐Ÿ”— **PoC**: Available on Exploit-DB (ID 45195) and Project Zero. <br>๐Ÿ› ๏ธ **Tool**: Nuclei templates exist for automated scanning. <br>๐Ÿ”ฅ **Status**: Actively exploitable in the wild.

Q7How to self-check? (Features/Scanning)

๐Ÿ”Ž **Self-Check**: Scan for `cgit/cgit.cgi/git/objects/?path=../`. <br>๐Ÿ“ก **Indicator**: Look for HTTP clone functionality enabled. <br>๐Ÿงช **Test**: Send a request with `../` in the path parameter.โ€ฆ

Q8Is it fixed officially? (Patch/Mitigation)

โœ… **Fixed**: **YES**. <br>๐Ÿ“ฆ **Patch**: Upgrade to cgit **v1.2.1** or later. <br>๐Ÿ“œ **Advisory**: Debian DSA-4263 and upstream fixes are available. <br>๐Ÿ”„ **Action**: Immediate update recommended.

Q9What if no patch? (Workaround)

๐Ÿ›ก๏ธ **No Patch?**: Disable `enable-http-clone` in config. <br>๐Ÿšซ **Mitigation**: Set `enable-http-clone=0`. <br>๐Ÿงฑ **WAF**: Block requests containing `../` in the `path` parameter for git objects.โ€ฆ

Q10Is it urgent? (Priority Suggestion)

๐Ÿšจ **Urgency**: **HIGH**. <br>โฑ๏ธ **Priority**: Fix immediately. <br>๐Ÿ“‰ **Risk**: Easy exploitation + High impact (Data Leak). <br>๐Ÿ“ข **Note**: Public exploits exist. Do not wait for scheduled maintenance.