CVE-2021-47811
CRITICALCVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Lifecycle Timeline
3Tags
Description
Grocery Crud 1.6.4 contains a SQL injection vulnerability in the order_by parameter that allows remote attackers to manipulate database queries. Attackers can inject malicious SQL code through the order_by[] parameter in POST requests to the ajax_list endpoint to potentially extract or modify database information.
Analysis
Grocery Crud 1.6.4 has a SQL injection vulnerability in the order_by parameter, allowing remote attackers to read, modify, or delete database contents through crafted sort requests.
Technical Context
The order_by parameter in Grocery Crud 1.6.4 is concatenated directly into SQL queries without sanitization. This CWE-89 SQL injection allows attackers to append arbitrary SQL clauses to ORDER BY statements.
Affected Products
['Grocery Crud 1.6.4']
Remediation
Upgrade Grocery Crud to a patched version. Use parameterized queries and whitelist allowed sort columns.
Priority Score
Share
External POC / Exploit Code
Leaving vuln.today