Parse-community parse-server
Parse Server: Account takeover via JWT algorithm confusion in Google auth adapter
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to versions 8.6.3 and 9.1.1-alpha.4, an unauthenticated attacker can forge a Google authentication token with `alg: "none"` to log in as any user linked to a Google account, without knowing their credentials. All deployments with Google authentication enabled are affected. The fix in versions 8.6.3 and 9.1.1-alpha.4 hardcodes the expected `RS256` algorithm instead of trusting the JWT header, and replaces the Google adapter's custom key fetcher with `jwks-rsa` which rejects unknown key IDs. As a workaround, dsable Google authentication until upgrading is possible.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9.0.0, < 9.3.1-alpha.4
- < 8.6.3
Fixed in 9.3.1-alpha.4, 8.6.3
Mitigation
Upgrade parse-server to 9.3.1-alpha.4 or 8.6.3 or later.
References
- Vendor advisory github.com/parse-community/parse-server/securi…
- Patch github.com/parse-community/parse-server/commit…
- Patch github.com/parse-community/parse-server/commit…
2 more
- Release notes github.com/parse-community/parse-server/releas…
- Release notes github.com/parse-community/parse-server/releas…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.