title: CF CLI  writes the client id and secret to config file
description: CF CLI version prior to v6.45.0 (bosh release version 1.16.0) writes the client id and secret to its config file when the user authenticates with --client-credentials flag. A local authenticated malicious user with access to the CF CLI config file can act as that client, who is the owner of the leaked credentials.
problem types: CWE-522: Insufficiently Protected Credentials
affected:
{
product: CF CLI Release
vendor: Cloud Foundry
versions:
status: affected, version: v1.x before v1.16.0
}
{
product: CF CLI
vendor: Cloud Foundry
versions:
status: affected, version: versions prior to v6.45.0
}
metrics:
cvssV3_0: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: LOW
baseScore: 6.3
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: LOW
scope: CHANGED
userInteraction: NONE
vectorString: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
version: 3.0
]