cve/2024/CVE-2024-4536.md

19 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2024-4536](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-4536)
![](https://img.shields.io/static/v1?label=Product&message=EDC&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0.2.1%3C%3D%200.6.2%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-201%3A%20Insertion%20of%20Sensitive%20Information%20Into%20Sent%20Data&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-522%3A%20Insufficiently%20Protected%20Credentials&color=brighgreen)
### 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.
### POC
#### Reference
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/198
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds