Advisory Details

November 15th, 2022

Parse Server _expandResultOnKeyPath Prototype Pollution Remote Code Execution Vulnerability

ZDI-22-1592
ZDI-CAN-18806

CVE ID CVE-2022-41879
CVSS SCORE 7.2, AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Parse
AFFECTED PRODUCTS Server
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Parse Server. Authentication is required to exploit this vulnerability.

The specific flaw exists within the \_expandResultOnKeyPath function. The issue results from the lack of control over modifications to attributes of object prototypes. An attacker can leverage this vulnerability to execute code in the context of the service account.

ADDITIONAL DETAILS Parse has issued an update to correct this vulnerability. More details can be found at:
https://github.com/parse-community/parse-server/security/advisories/GHSA-93vw-8fm5-p2jf
DISCLOSURE TIMELINE
  • 2022-09-30 - Vulnerability reported to vendor
  • 2022-11-15 - Coordinated public release of advisory
CREDIT Mikhail Shcherbakov, Cristian-Alexandru Staicu and Musard Balliu
BACK TO ADVISORIES