{"id":"CVE-2024-4536","published":"2024-05-07T13:11:45Z","modified":"2024-08-01T20:40:47Z","title":"Eclipse EDC: OAuth2 Credential Exfiltration Vulnerability","vendor":"Eclipse Foundation","product":"EDC","tier":"tail","description":{"text":"In Eclipse Dataspace Components from version 0.2.1 to 0.6.2, in the EDC Connector component ( https://github.com/eclipse-edc/Connector ), an attacker might obtain OAuth2 client secrets from the vault.\n\nIn Eclipse Dataspace Components from version 0.2.1 to 0.6.2, we have identified a security vulnerability in the EDC Connector component ( https://github.com/eclipse-edc/Connector ) regarding the OAuth2-protected data sink feature. When using a custom, OAuth2-protected data sink, the OAuth2-specific data address properties are resolved by the provider data plane. Problematically, the consumer-provided clientSecretKey, which indicates the OAuth2 client secret to retrieve from a secrets vault, is resolved in the context of the provider's vault, not the consumer. This secret's value is then sent to the tokenUrl, also consumer-controlled, as part of an OAuth2 client credentials grant. The returned access token is then sent as a bearer token to the data sink URL.\n\nThis feature is now disabled entirely, because not all code paths necessary for a successful realization were fully implemented.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00411,"percentile":0.36297,"provenance":"source"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/eclipse-edc/Connector/commit/a4e6018d2c0457fba6f672fafa6c590513c45d1b","tags":["patch"]},{"url":"https://github.com/eclipse-edc/Connector/releases/tag/v0.6.3","tags":["related"]},{"url":"https://gitlab.eclipse.org/security/cve-assignement/-/issues/22","tags":["issue-tracking","vendor-advisory"]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/198","tags":["issue-tracking","vendor-advisory"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":7.26},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"eclipse-foundation","affectedVersions":[{"vendor":"Eclipse Foundation","product":"EDC","versions":[">= 0.2.1, <= 0.6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-07T14:50:50.630941Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.eclipse.edc:connector-core","vulnerableRanges":[">=0.2.1, <0.6.3"],"patched":["0.6.3"],"from":["GHSA-2x52-8f29-7cjr"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1371","exploited":false,"provenance":"source"}}