CVE-2024-25122 Cross-site Scripting sidekiq-unique-jobs UI server vulnerability
Attackers can execute malicious scripts via crafted links in the sidekiq-unique-jobs admin UI, potentially stealing session data and cookies from authorized users.
- 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
- Available
What is CVE-2024-25122?
CVE-2024-25122 is a high-severity cross-site scripting vulnerability in mhenrixon sidekiq-unique-jobs, published on 13 Feb 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
sidekiq-unique-jobs is an open source project which prevents simultaneous Sidekiq jobs with the same unique arguments to run. Specially crafted GET request parameters handled by any of the following endpoints of sidekiq-unique-jobs' "admin" web UI, allow a super-user attacker, or an unwitting, but authorized, victim, who has received a disguised / crafted link, to successfully execute malicious code, which could potentially steal cookies, session data, or local storage data from the app the sidekiq-unique-jobs web UI is mounted in. 1. `/changelogs`, 2. `/locks` or 3. `/expiring_locks`. This issue has been addressed in versions 7.1.33 and 8.0.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2024-25122?
It affects 1 product.
Products include Mhenrixon Sidekiq-Unique-Jobs.
How do I fix CVE-2024-25122?
Upgrade to a fixed version.
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-25122 being exploited?
There is no known exploitation of CVE-2024-25122 in the wild and no public exploit code.