CVE-2023-0119 Foreman: stored cross-site scripting in host tab
An attacker with an account can inject scripts into the Hosts tab comment section to steal sessions and credentials from other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-0119?
CVE-2023-0119 is a medium-severity cross-site scripting vulnerability in Redhat Satellite, published on 12 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A stored Cross-site scripting vulnerability was found in foreman. The Comment section in the Hosts tab has incorrect filtering of user input data. As a result of the attack, an attacker with an existing account on the system can steal another user's session, make requests on behalf of the user, and obtain user credentials.
Weakness: CWE-79
Which versions are affected by CVE-2023-0119?
It affects 1 product.
Linux distribution packages (3)
foreman Red Hat:satellite:6.13::el8 | All versions | 0:3.5.1.17-1.el8sat |
foreman Red Hat:satellite_capsule:6.13::el8 | All versions | 0:3.5.1.17-1.el8sat |
foreman Red Hat:satellite_utils:6.13::el8 | All versions | 0:3.5.1.17-1.el8sat |
Products include Redhat Satellite.
How do I fix CVE-2023-0119?
Apply the vendor's patch.
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-2023-0119 being exploited?
There is no known exploitation of CVE-2023-0119 in the wild and no public exploit code.
Other vulnerabilities in Redhat Satellite
- CVE-2024-7012 Puppet-foreman: an authentication bypass vulnerability exists in foreman
- CVE-2024-7923 Puppet-pulpcore: an authentication bypass vulnerability exists in pulpcore
- CVE-2026-96659 Foreman: excessive permissions for viewer role on preview
- CVE-2023-0118 Foreman: arbitrary code execution through templates
- CVE-2008-2369 Hardcoded credentials in n/a
Sources
Also known as GHSA-6fr9-c775-x826, RHSA-2023:3387.