CVE-2018-14664 Cross-site scripting in foreman
An attacker with edit permissions can inject malicious scripts into the breadcrumbs bar, leading to client-side code execution against other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-14664?
CVE-2018-14664 is a medium-severity cross-site scripting vulnerability in Theforeman Foreman, published on 12 Oct 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A flaw was found in foreman from versions 1.18. A stored cross-site scripting vulnerability exists due to an improperly escaped HTML code in the breadcrumbs bar. This allows a user with permissions to edit which attribute is used in the breadcrumbs bar to store code that will be executed on the client side.
Weakness: CWE-79
Which versions are affected by CVE-2018-14664?
It affects 1 product.
Products include Theforeman Foreman.
How do I fix CVE-2018-14664?
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-2018-14664 being exploited?
There is no known exploitation of CVE-2018-14664 in the wild and no public exploit code.
Other vulnerabilities in Theforeman Foreman
Sources
Also known as GHSA-5xq8-2vfq-6q92.