CVE-2016-2165 Cross-site scripting in Cloud Foundry
Attackers can inject malicious scripts into 404 error responses via unsanitized URL paths in Cloud Foundry Loggregator Traffic Controller.
- 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-2165?
CVE-2016-2165 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 Loggregator Traffic Controller endpoints in cf-release v231 and lower, Pivotal Elastic Runtime versions prior to 1.5.19 AND 1.6.x versions prior to 1.6.20 are not cleansing request URL paths when they are invalid and are returning them in the 404 response. This could allow malicious scripts to be written directly into the 404 response.
Weakness: CWE-20
Which versions are affected by CVE-2016-2165?
It affects 2 products.
Products include Cloudfoundry Cf-Release, Pivotal Software Cloud Foundry Elastic Runtime.
How do I fix CVE-2016-2165?
No fix has been published for CVE-2016-2165 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-2165 being exploited?
There is no known exploitation of CVE-2016-2165 in the wild and no public exploit code.
Other vulnerabilities in Pivotal Cloud Foundry
- CVE-2015-5171 Cloud Foundry Runtime Insufficient Session Expiration vulnerability
- CVE-2015-5172 Cloud Foundry Runtime has Weak Password Recovery Mechanism for Forgotten Password
- CVE-2016-8218 Auth bypass in Cloud Foundry
- CVE-2017-4992 Cloud Foundry UAA privilege escalation with user invitations
- CVE-2016-6658 Information disclosure in n/a
Sources
Also known as GHSA-p5pc-pcfq-64rw.