CVE-2017-15125 Cross-site scripting in cloudforms

Medium 6.5 Published Updated

An attacker can execute stored XSS attacks against administrators via the snapshot name field in CloudForms, potentially leading to account takeover.

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-2017-15125?

CVE-2017-15125 is a medium-severity cross-site scripting vulnerability in Red Hat cloudforms, published on 27 Jul 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 CloudForms before 5.9.0.22 in the self-service UI snapshot feature where the name field is not properly sanitized for HTML and JavaScript input. An attacker could use this flaw to execute a stored XSS attack on an application administrator using CloudForms. Please note that CSP (Content Security Policy) prevents exploitation of this XSS however not all browsers support CSP.

Weakness: CWE-79

Which versions are affected by CVE-2017-15125?

It affects 1 product.

Products include Redhat Cloudforms Management Engine.

How do I fix CVE-2017-15125?

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-2017-15125 being exploited?

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

Sources

Also known as GHSA-8ghx-pqhq-656w.

Is CVE-2017-15125 in your software?

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

Check your SBOMs for free