# CVE-2017-8034: Auth bypass in Cloud Foundry

> Zone administrators can escalate privileges in Cloud Foundry due to missing JWT issuer validation in multi-zone UAA configurations.

- **Severity:** Medium 6.6 (`CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 17 Jul 2017
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-47fq-mm42-6v8w

## What is CVE-2017-8034?

CVE-2017-8034 is a medium-severity authentication bypass vulnerability in Cloud Foundry, published on 17 Jul 2017. An attacker needs administrator access to exploit it, with no action from the victim.

### Official description

The Cloud Controller and Router in Cloud Foundry (CAPI-release capi versions prior to v1.32.0, Routing-release versions prior to v0.159.0, CF-release versions prior to v267) do not validate the issuer on JSON Web Tokens (JWTs) from UAA. With certain multi-zone UAA configurations, zone administrators are able to escalate their privileges.

Weakness: CWE-565 (Reliance on Cookies without Validation and Integrity Checking)

## Which versions are affected by CVE-2017-8034?

It affects 3 products.


Products: Cloudfoundry Capi-Release, Cloudfoundry Cf-Release, Cloudfoundry Routing-Release.

## How do I fix CVE-2017-8034?

No fix has been published for CVE-2017-8034 yet. Limit exposure of the affected software until one is available.

## Is CVE-2017-8034 being exploited?

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

## Other vulnerabilities in Cloud Foundry

- [CVE-2018-1195](https://insights.sbomify.com/CVE-2018-1195/): Auth bypass in Cloud Controller (high 8.8)
- [CVE-2020-5417](https://insights.sbomify.com/CVE-2020-5417/): Cloud Controller may allow developers to claim sensitive routes (high 8.5)
- [CVE-2023-20881](https://insights.sbomify.com/CVE-2023-20881/): Missing authorization in Cloud Controller API (high 8.1)
- [CVE-2018-1266](https://insights.sbomify.com/CVE-2018-1266/): Path traversal in n/a (high 8.1)
- [CVE-2020-5400](https://insights.sbomify.com/CVE-2020-5400/): Cloud Controller logs environment variables from app manifests (high 8.0)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-8034 and fix it if it is affected.

What it is: CVE-2017-8034 is a medium-severity authentication bypass vulnerability in Cloud Foundry, published on 17 Jul 2017. An attacker needs administrator access to exploit it, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2017-8034 in the wild and no public exploit code.

Affected product: Cloud Foundry. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2017-8034/ (Markdown: https://insights.sbomify.com/CVE-2017-8034/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2017-8034
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2017-8034
- OSV: https://osv.dev/vulnerability/CVE-2017-8034

---
From sbomify Insights: https://insights.sbomify.com/CVE-2017-8034/
Summaries are generated and may contain mistakes; the official description above is the record.
