Vulnerability · Published May 7, 2024 · Assigned by eclipse
CVE-2024-4536Eclipse EDC: OAuth2 Credential Exfiltration Vulnerability
Medium 6.8
In plain English
A medium-severity security flaw in EDC from Eclipse Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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. In 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. This feature is now disabled entirely, because not all code paths necessary for a successful realization were fully implemented.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.eclipse.edc:connector-core | 0.6.3 | GHSA-2x52-8f29-7cjr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Eclipse Foundation | EDC | 0.2.1 – through 0.6.2 |
Weakness: CWE-201, CWE-522 · Vector: CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:L
References
- https://github.com/eclipse-edc/Connector/commit/a4e6018d2c0457fba6f672fafa6c590513c45d1b patch
- https://github.com/eclipse-edc/Connector/releases/tag/v0.6.3 related
- https://gitlab.eclipse.org/security/cve-assignement/-/issues/22 issue-tracking, vendor-advisory
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/198 issue-tracking, vendor-advisory