Description
ToolJet before 3.21.96-LTS contains an information disclosure vulnerability that allows authenticated low-privilege users to recover plaintext workspace secret constants through OAuth URL generation. Attackers can send POST /api/data-sources/fetch-oauth2-base-url with {{secrets.*}} in source_options and arbitrary organization_id and environment_id to receive secrets, including other workspaces' secrets, in the returned authorization URL.
Affected products and versions
ToolJet ToolJet< 3.21.96-LTSFixed in: 3.21.96-LTS
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
- github.com/ToolJet/ToolJet/security/advisories/GHSA-6c72-fxvv-xp9f vendor advisory
- www.vulncheck.com/advisories/tooljet-before-3.21.96-lts-secret-disclosure-via-fetch-oauth2
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.