CVE-2022-31083: Parse Server authentication bypass in Apple Game Center adapter

CVE-2022-31083 · Severity: low · CVSS 3.1 · Published 2022-06-17

Parse Server is a backend-as-a-service platform that handles application authentication and data management. The Apple Game Center authentication adapter fails to validate certificates, allowing an attacker to bypass authentication by presenting a fake certificate from a trusted Apple domain. This could enable unauthorized access to applications using this authentication method.

Technologies: parse-server (npm). Vendors: npm.

Quick answers

Is CVE-2022-31083 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-31083 being exploited in the wild.
How severe is CVE-2022-31083?
Low severity, with a CVSS score of 3.1, published 17 June 2022.
Which products and versions are affected?
parse-server (npm) SEMVER:introduced=0,fixed=4.10.11.
Is there a fix for CVE-2022-31083?
Yes. parse-server (npm): upgrade to 4.10.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2022-31083 attacked?
It is attacked over the network.
Am I affected by CVE-2022-31083?
Check whether you run parse-server (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • parse-server (npm): upgrade to 4.10.11 or later
    npm install parse-server@4.10.11

Technical details

The vulnerability is a certificate validation bypass (CWE-295) in the Apple Game Center authentication adapter within Parse Server. The adapter fails to validate the certificate presented by the server, allowing an attacker to provide a crafted certificate via a URL in the authData object to bypass authentication checks. The attack requires network access to make the fake certificate accessible via certain Apple domains but does not require authentication or user interaction. An attacker can achieve complete authentication bypass, potentially gaining unauthorized access to applications relying on this authentication method. The vulnerability was patched by introducing a rootCertificateUrl property that validates certificates against a specified root certificate URL.

Affected products

  • Parse Server before 4.10.11 and 5.0.0 through before 5.2.2

Identifiers

  • CVE-2022-31083
  • GHSA-rh9j-f5f8-rvgc

Timeline

  • 2022-06-17: disclosed
  • 2022-06-17: patched: Fixed in versions 4.10.11 and 5.2.2

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.