Parse Server literalizeRegexPart SQL Injection Authentication Bypass Vulnerability

July 3rd, 2024

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