{"id":"CVE-2019-3782","published":"2019-02-13T16:00:00Z","modified":"2024-09-16T23:36:58Z","title":"CredHub CLI writes environment variable credentials to disk","vendor":"Cloud Foundry","product":"CredHub CLI","tier":"core","eol":null,"affectedVersions":[{"vendor":"Cloud Foundry","product":"CredHub CLI","versions":[">= All, < 2.2.1"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00357,"percentile":0.29323,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://www.cloudfoundry.org/blog/cve-2019-3782","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/107038","tags":["vdb-entry","x_refsource_BID"]}],"techniques":[{"id":"T1552.001","name":"Credentials In Files","tactics":["credential-access"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 2)","mappingType":"primary_impact","evidence":[],"confidence":"high"},{"id":"T1098","name":"Account Manipulation","tactics":["persistence","privilege-escalation"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 2)","mappingType":"secondary_impact","evidence":[],"confidence":"high"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-13413","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-13413","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[{"stage":"primary","techniques":["T1552.001"],"provenance":"source"},{"stage":"secondary","techniques":["T1098"],"provenance":"source"}],"timeline":[{"date":"2019-02-13","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2019-3782","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":10.3,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":5.86,"detail":"percentile 0.2932"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":4.41,"detail":"base score 6.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}