Parse Server has a SQL injection via `Increment` operation on nested object field in PostgreSQL
Résumé
Parse Server has a SQL injection via Increment operation on nested object field in PostgreSQL
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. A SQL injection vulnerability exists in the PostgreSQL storage adapter when processing Increment operations on nested object fields using dot notation (e.g., stats.counter). The amount value is interpolated directly into the SQL query without parameterization or type validation. An attacker who can send write requests to the Parse Server REST API can inject arbitrary SQL subqueries to read any data from the database, bypassing CLPs and ACLs. MongoDB deployments are not affected. This vulnerability is fixed in 9.6.0 and 8.6.29.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Paquets affectés
Références
- advisory github.com
- web github.com
- web github.com
- web nvd.nist.gov