#VU86982 SQL injection in Parse Server - CVE-2024-27298
Published: March 4, 2024 / Updated: August 5, 2024
Parse Server
Parse Community
Description
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data within the literalizeRegexPart() function when Parse Server is configured to use the PostgreSQL database. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
Remediation
External links
- https://github.com/parse-community/parse-server/security/advisories/GHSA-6927-3vr9-fxf2
- https://github.com/parse-community/parse-server/commit/a6e654943536932904a69b51e513507fcf90a504
- https://github.com/parse-community/parse-server/commit/cbefe770a7260b54748a058b8a7389937dc35833
- https://github.com/parse-community/parse-server/releases/tag/6.5.0
- https://github.com/parse-community/parse-server/releases/tag/7.0.0-alpha.20
- https://www.zerodayinitiative.com/advisories/ZDI-24-900/