Advisory Details

July 3rd, 2024

Parse Server literalizeRegexPart SQL Injection Authentication Bypass Vulnerability

ZDI-24-896
ZDI-CAN-23894

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

This vulnerability allows remote attackers to bypass authentication on affected installations of Parse Server. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the literalizeRegexPart function. The issue results from the lack of proper validation of a user-supplied string before using it to construct SQL queries. An attacker can leverage this vulnerability to bypass authentication on the system.

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-c2hr-cqg6-8j6r
DISCLOSURE TIMELINE
  • 2024-04-02 - Vulnerability reported to vendor
  • 2024-07-03 - Coordinated public release of advisory
  • 2024-08-15 - Advisory Updated
CREDIT Smile Thanapattheerakul of Trend Micro Research
BACK TO ADVISORIES