Record summary

CVE-2023-6568 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.

Description

A reflected Cross-Site Scripting (XSS) vulnerability exists in the mlflow/mlflow repository, specifically within the handling of the Content-Type header in POST requests. An attacker can inject malicious JavaScript code into the Content-Type header, which is then improperly reflected back to the user without adequate sanitization or escaping, leading to arbitrary JavaScript execution in the context of the victim's browser. The vulnerability is present in the mlflow/server/auth/__init__.py file, where the user-supplied Content-Type header is directly injected into a Python formatted string and returned to the user, facilitating the XSS attack.

Description source: CVE List

Exploitation context

Available material

Nuclei templates
1

Affected products and versions

2
ProductSourceVersion rangeStatus
CVE ListBefore 2.9.0affected
GitHub AdvisoryBefore 2.9.0 · Fixed in 2.9.0affected

Nuclei templates

1
ProjectDiscoveryMEDIUMMlflow - Cross-Site ScriptingCVSS 6.1

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

WeaknessesCWE-79
Authorsritikchaddha
Template tagscvecve2023mlflowxssvuln
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CPE: cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*
Shodan: http.title:"mlflow"
FOFA: app="MLflow"
Google: intitle:"mlflow"

Source: ProjectDiscovery

References

5