Skip to content
XSS Advisory Intermediate CVE-2024-39272

ClearML dataset upload XSS vulnerability

An XSS vulnerability in ClearML's dataset upload allows an authenticated attacker to upload malicious HTML files that execute JavaScript when viewed by another user. This could let the attacker exfiltrate local storage secrets, such as AWS S3 credentials.

Edwin Molenaar Follow

Originally disclosed on Cisco Talos

Critical 9.0 View original

A cross-site scripting (xss) vulnerability exists in the dataset upload functionality of ClearML Enterprise Server 3.22.5-1533. A specially crafted HTTP request can lead to an arbitrary html code.

Edwin Molenaar, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the application serves uploaded HTML files without setting a safe Content-Disposition header or sanitising them, so the browser renders them as active content.

Impact

An attacker could exfiltrate parts of a logged-in user's local storage, potentially revealing secrets such as AWS S3 credentials.

What the attacker needed

A free ClearML account; victim opens the uploaded HTML file

The fix

The vendor released a patch; additionally, setting Content-Disposition to attachment for HTML files and implementing a strict CSP would mitigate the issue.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when a website shows user-supplied content without proper cleaning, so hidden code runs in a victim's browser. Here, an attacker with a normal account uploads an HTML file to a dataset, and when another user opens it, the code runs and can steal saved secrets from that user's browser.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Edwin Molenaar

View all

1 more disclosed report, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.