CVE-2024-49379 Remote Code Execution (RCE) via Cross-Site Scripting (XSS) in Umbrel
Attackers can execute arbitrary JavaScript via a malicious redirect parameter in the login page, potentially leading to remote code execution or account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-49379?
CVE-2024-49379 is a medium-severity cross-site scripting vulnerability in getumbrel umbrel, published on 13 Nov 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Umbrel is a home server OS for self-hosting. The login functionality of Umbrel before version 1.2.2 contains a reflected cross-site scripting (XSS) vulnerability in use-auth.tsx. An attacker can specify a malicious redirect query parameter to trigger the vulnerability. If a JavaScript URL is passed to the redirect parameter the attacker provided JavaScript will be executed after the user entered their password and clicked on login. This vulnerability is fixed in 1.2.2.
Weakness: CWE-79
Which versions are affected by CVE-2024-49379?
How do I fix CVE-2024-49379?
No fix has been published for CVE-2024-49379 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-49379 being exploited?
There is no known exploitation of CVE-2024-49379 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.