Description
ToolJet from 3.8.0 before 3.21.96-LTS contains an authorization bypass vulnerability that allows authenticated builders to modify queries in view-only apps by supplying cross-app query IDs. Attackers can send PATCH requests to /api/data-queries/versions/:versionId naming an editable app version with another app's query ID, then run the overwritten query using that app's data source connection.
Affected products and versions
ToolJet ToolJet3.8.0 – < 3.21.96-LTSFixed in: 3.21.96-LTS
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- Low impact
Weakness type (CWE)
- CWE-639 Authorization Bypass Through User-Controlled Key
References
- github.com/ToolJet/ToolJet/security/advisories/GHSA-jf7p-x5pr-rh7m vendor advisory
- www.vulncheck.com/advisories/tooljet-3.8.0-before-3.21.96-lts-authorization-bypass-via-bul
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.