Description
ToolJet before 3.21.96-LTS contains an authentication bypass in instance-level Google SSO because the id_token audience is not verified when no Google OAuth client ID is configured, the shipped default. Unauthenticated attackers can submit a Google-signed id_token minted for their own OAuth client to /api/sso/sign-in/common/google without an organizationId, obtaining a session as any existing user with the matching email.
Affected products and versions
ToolJet ToolJet≤ 3.20.213-lts
ToolJet ToolJet< 3.21.96-LTSFixed in: 3.21.96-LTS
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-287 Improper Authentication
References
- github.com/ToolJet/ToolJet/security/advisories/GHSA-xfj2-r6pf-4hmg vendor advisory
- github.com/ToolJet/ToolJet/commit/1ebdee2e51db3d53d17a4b6d82cde682b92dbab2 patch
- www.vulncheck.com/advisories/tooljet-through-3.20.213-lts-authentication-bypass-via-google
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.