CVE-2024-4812 Katello: potential cross-site scripting exploit in ui
Attackers can inject malicious JavaScript into user descriptions, leading to script execution when viewing specific pages in Red Hat Satellite.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-4812?
CVE-2024-4812 is a medium-severity cross-site scripting vulnerability in Redhat Satellite, published on 5 Jun 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
A flaw was found in the Katello plugin for Foreman, where it is possible to store malicious JavaScript code in the "Description" field of a user. This code can be executed when opening certain pages, for example, Host Collections.
Weakness: CWE-79
Which versions are affected by CVE-2024-4812?
It affects 2 products.
Products include Katello Project Katello, Redhat Satellite.
How do I fix CVE-2024-4812?
No fix has been published for CVE-2024-4812 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-4812 being exploited?
There is no known exploitation of CVE-2024-4812 in the wild and no public exploit code.
Sources
Also known as GHSA-jjqv-cfcp-2xj7.