Description
DataCap through 2025.1.1 contains an insecure direct object reference vulnerability in BaseController.getInfoForPath that allows authenticated users to read other users' datasources, snippets and dashboards by numeric id. Low-privileged attackers can enumerate auto-increment ids on the source, snippet and dashboard endpoints to retrieve serialized datasource host, port, username and cleartext passwords.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| devlive-community | DataCap | ≤ 2025.1.1 | — |
References
- https://hackmd.io/@hieuPenguinnn/metaforge-datacap-source-getbyid-cross-user-idor third-party-advisory
- https://github.com/devlive-community/MetaForge/blob/2025.1.1/core/datacap-service/src/main/java/io/edurt/datacap/service/service/BaseService.java#L38-L43 technical-description
- https://github.com/devlive-community/MetaForge/blob/2025.1.1/core/datacap-server/src/main/java/io/edurt/datacap/server/controller/BaseController.java#L91-L95 technical-description
- VulnCheck Advisory: DataCap through 2025.1.1 IDOR via BaseController.getInfoForPath Exposes Credentials third-party-advisory