S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Oct 8, 2024

CVE-2023-6568 Scanner

CVE-2023-6568 Scanner - Cross-Site Scripting (XSS) vulnerability in Mlflow

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, ipv4, subdomain
CostFree
2.2k
Times Used
continuous scan runs
4.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2023-6568
6.1
CVSSmedium
Exploitable remotely over the internet · no authentication required · user interaction needed.

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
mlflow/mlflowby mlflow
AFFECTED< 2.9.0SAFE ✓≥ 2.9.0
Updated Aug 22, 2026View on NVD →
Detail

Mlflow is used worldwide by data scientists and AI/ML engineers to track experiments, train models, and manage the end-to-end machine learning lifecycle. It provides various features to support user activities, including data collection, model training, and deployment. Companies utilize Mlflow to maintain consistency and reproducibility in their machine learning projects. It is widely adopted due to its ability to integrate easily with existing data pipelines and infrastructure. Researchers and developers benefit from its open-source nature, allowing for extensive customization. Essentially, Mlflow helps simplify the management of machine learning model lifecycle tracking.

The vulnerability in question is a Cross-Site Scripting (XSS) flaw, which allows attackers to inject and execute malicious scripts in the context of a user's browser session. These scripts can potentially hijack user sessions or perform actions on behalf of the users. The vulnerability specifically targets the Content-Type header of a POST request in Mlflow. If unmitigated, XSS vulnerabilities can lead to significant security breaches, compromising user data and application integrity. Cross-Site Scripting is a common attack vector in web applications due to inadequate input validation. This highlights the need for rigorous input sanitization and validation practices.

The vulnerability stems from inadequate sanitization of user-supplied values, particularly within the Content-Type header. Attackers can inject JavaScript code such as "<script>alert(document.domain)</script>" into this header. When the malicious request is processed, the payload is reflected back to the user in an unsanitized manner. This flaw could allow attackers to present bogus information to unsuspecting users or extract sensitive data within user cookies. The vulnerable endpoint '/api/2.0/mlflow/users/create' in the HTTP POST request is particularly susceptible to this input manipulation. Validation of headers, particularly content-type, is crucial to thwart these types of attacks.

Exploitation of this XSS vulnerability could lead to unauthorized actions performed on behalf of users and the leakage of sensitive data. Potential outcomes include session hijacking, unauthorized transaction execution, and manipulation of content delivered to the end-users. Attackers could also craft phishing scams by leveraging the application’s trusted interface. Additionally, the spread of misinformation could occur if scripts were used to alter user-visible data. In severe cases, this could result in monetary losses or tarnishing of the organization's reputation.

REFERENCES

Solution Advice
  • Implement robust input validation and sanitization to filter out malicious scripts.
  • Use security libraries or frameworks that automatically escape potentially dangerous characters.
  • Deploy Content Security Policy (CSP) headers which restrict the execution of untrusted scripts.
  • Conduct regular security audits and penetration testing to identify potential attack vectors.
  • Provide training for developers on secure coding practices to prevent XSS vulnerabilities in future developments.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.