Skip to main content
← All vulnerabilities
CVE-2022-39225GHSA-6W4Q-23CF-J9JPBIT-PARSE-2022-39225

Parse Server subject to Incorrect Resource Transfer Between Spheres

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.10.15, 5.2.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. In versions prior to 4.10.15, or 5.0.0 and above prior to 5.2.6, a user can write to the session object of another user if the session object ID is known. For example, an attacker can assign the session object to their own user by writing to the `user` field and then read any custom fields of that session object. Note that assigning a session to another user does not usually change the privileges of either of the two users, and a user cannot assign their own session to another user. This issue is patched in version 4.10.15 and above, and 5.2.6 and above. To mitigate this issue in unpatched versions add a `beforeSave` trigger to the `_Session` class and prevent writing if the requesting user is different from the user in the session object.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • parse-community parse-server

    fixed in 4.10.15; From 5.0.0 · fixed in 5.2.6

  • parse-servernpm

    fixed in 4.10.15

  • parse-servernpm

    From 5.0.0 · fixed in 5.2.6

References 1

GitHub · parse-community/parse-server