GHSL-2024-164: Remote Code Execution (RCE) via Cross-Site Scripting (XSS) in Umbrel - CVE-2024-49379
A reflected cross-site scripting (XSS) vulnerability in Umbrel's login page allowed an attacker to execute arbitrary JavaScript after a user logged in, by supplying a malicious redirect parameter. This could lead to remote code execution (RCE) on the Umbrel instance.
A Cross-Site Scripting (XSS) vulnerability was found in the login functionality of Umbrel, a home server OS. It can lead up to Remote Code Execution (RCE).
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
Impact
This issue may lead up to Remote Code Execution (RCE), allowing an attacker to steal files such as private keys from an Umbrel instance not directly accessible from the Internet.
What the attacker needed
Victim clicks a link; victim logs in; attacker can reach the Umbrel instance
How it was found
- Craft a URL with a redirect parameter containing a JavaScript URL.
- Send the URL to a victim who can reach the Umbrel instance.
- The victim logs in, and the JavaScript executes in their browser.
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.
The login page took a value from the web address (the redirect parameter) and used it to send the user to another page without checking it. An attacker could put JavaScript code in that parameter, so when the user logged in, the code ran in their browser. This let the attacker steal the user's session token and even run commands on the server.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.