CVE-2016-0781 Cross-site scripting in Cloud Foundry

Medium 6.1 Published Updated

Attackers can inject malicious JavaScript into OAuth scopes or SCIM group descriptions in Cloud Foundry UAA, potentially leading to session hijacking or code execution.

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
None listed

What is CVE-2016-0781?

CVE-2016-0781 is a medium-severity cross-site scripting vulnerability in Pivotal Cloud Foundry, published on 25 May 2017. 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

The UAA OAuth approval pages in Cloud Foundry v208 to v231, Login-server v1.6 to v1.14, UAA v2.0.0 to v2.7.4.1, UAA v3.0.0 to v3.2.0, UAA-Release v2 to v7 and Pivotal Elastic Runtime 1.6.x versions prior to 1.6.20 are vulnerable to an XSS attack by specifying malicious java script content in either the OAuth scopes (SCIM groups) or SCIM group descriptions.

Weakness: CWE-79

Which versions are affected by CVE-2016-0781?

It affects 5 products.

Products include Cloudfoundry Cloud Foundry Uaa Bosh, Pivotal Software Cloud Foundry, Pivotal Software Cloud Foundry Elastic Runtime, Pivotal Software Cloud Foundry Uaa, Pivotal Software Login-Server.

How do I fix CVE-2016-0781?

No fix has been published for CVE-2016-0781 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-2016-0781 being exploited?

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

Sources

Also known as GHSA-cfh6-j4mw-8cx7.

Is CVE-2016-0781 in your software?

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

Check your SBOMs for free