CVE-2018-1265 Path traversal in Diego
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.
Other vulnerabilities in Cloud Foundry Diego
- CVE-2022-31733 Auth bypass in Cloud Foundry Diego and CF Deployment
- CVE-2020-5402 UAA fails to check the state parameter when authenticating with external IDPs
- CVE-2019-11293 UAA logs all query parameters with debug logging level
- CVE-2019-11290 Cloud Foundry UAA logs query parameters in tomcat access file
- CVE-2019-11283 Password leak in smbdriver logs
Sources
Also known as GHSA-q4p6-fc6x-phmp.