CVE-2018-1265 Path traversal in Diego

High 7.2 Published Updated

A remote attacker with admin privileges can upload a malicious buildpack to achieve complete takeover of a Diego Cell VM and access all running apps.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-1265?

CVE-2018-1265 is a high-severity path traversal vulnerability in Cloud Foundry Diego, published on 6 Jun 2018. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Cloud Foundry Diego, release versions prior to 2.8.0, does not properly sanitize file paths in tar and zip files headers. A remote attacker with CF admin privileges can upload a malicious buildpack that will allow a complete takeover of a Diego Cell VM and access to all apps running on that Diego Cell.

Weakness: CWE-434

Which versions are affected by CVE-2018-1265?

It affects 2 products.

Products include Cloudfoundry Cf-Deployment, Pivotal Software Cloud Foundry Diego.

How do I fix CVE-2018-1265?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2018-1265 being exploited?

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

Sources

Also known as GHSA-q4p6-fc6x-phmp.

Is CVE-2018-1265 in your software?

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

Check your SBOMs for free