VDB
EN
CRITICAL

GHSA-4q3h-vp4r-prv2

Parse Server: Account takeover via JWT algorithm confusion in Google auth adapter

상세

### Impact

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.

### Patches

The fix 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.

### Workarounds

Disable Google authentication until you can upgrade.

### References

- GitHub advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-4q3h-vp4r-prv2 - Fixed in Parse Server 9.3.1-alpha.4: https://github.com/parse-community/parse-server/releases/tag/9.3.1-alpha.4 - Fixed in Parse Server 8.6.3: https://github.com/parse-community/parse-server/releases/tag/8.6.3

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

npm / parse-server
최초 영향 버전: 9.0.0 수정 버전: 9.3.1-alpha.4
수정 npm install parse-server@9.3.1-alpha.4
npm / parse-server
최초 영향 버전: 0 수정 버전: 8.6.3
수정 npm install parse-server@8.6.3

참고