CVE-2016-8639 Cross-site scripting in foreman

Medium 6.1 Published Updated

An attacker with privileges can inject arbitrary HTML and scripts into organization or location names, leading to stored XSS in the Foreman web interface.

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-2016-8639?

CVE-2016-8639 is a medium-severity cross-site scripting vulnerability in Redhat Satellite, published on 1 Aug 2018. 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

It was found that foreman before 1.13.0 is vulnerable to a stored XSS via an organization or location name. This could allow an attacker with privileges to set the organization or location name to display arbitrary HTML including scripting code within the web interface.

Weakness: CWE-79

Which versions are affected by CVE-2016-8639?

It affects 3 products.

Products include Redhat Satellite, Redhat Satellite Capsule, Theforeman Foreman.

How do I fix CVE-2016-8639?

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-2016-8639 being exploited?

There is no known exploitation of CVE-2016-8639 in the wild and no public exploit code.

All Redhat Satellite vulnerabilities

Sources

Also known as GHSA-mwqr-rg79-hjrr.

Is CVE-2016-8639 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free