CVE-2023-6568
MEDIUM6.5EPSS 33.4%Reflected XSS via Content-Type Header in mlflow/mlflow
發布日:2023/12/7修改日:2025/5/20
描述
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.
受影響套件(3)
- Bitnami/mlflowfrom 0, < 2.9.1
- PyPI/mlflowfrom 0, < 2.9.0
- PyPI/mlflowfrom 0, < 28ff3f94994941e038f2172c6484b65dc4db6ca1 | from 0, < 2.9.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-6568
- PATCHhttps://github.com/mlflow/mlflow
- WEBhttps://github.com/mlflow/mlflow/commit/28ff3f94994941e038f2172c6484b65dc4db6ca1
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2023-260.yaml
- WEBhttps://huntr.com/bounties/816bdaaa-8153-4732-951e-b0d92fddf709