CVE-2019-3782 CredHub CLI writes environment variable credentials to disk
Local attackers can read credentials from config files to access and modify Cloud Foundry CredHub data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-3782?
CVE-2019-3782 is a medium-severity vulnerability in Cloud Foundry CredHub CLI, published on 13 Feb 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Cloud Foundry CredHub CLI, versions prior to 2.2.1, inadvertently writes authentication credentials provided via environment variables to its persistent config file. A local authenticated malicious user with access to the CredHub CLI config file can use these credentials to retrieve and modify credentials stored in CredHub that are authorized to the targeted user.
Weakness: CWE-522
Which versions are affected by CVE-2019-3782?
It affects 1 product.
Products include Cloudfoundry Credhub Cli.
How do I fix CVE-2019-3782?
No fix has been published for CVE-2019-3782 yet. Limit exposure of the affected software until one is available.
Is CVE-2019-3782 being exploited?
There is no known exploitation of CVE-2019-3782 in the wild and no public exploit code.
Sources
Also known as GHSA-3vvh-rcx9-vcx3.