Grocery Crud
CVE-2021-47811
CRITICAL
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
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 ContextAI
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.
RemediationAI
Upgrade Grocery Crud to a patched version. Use parameterized queries and whitelist allowed sort columns.
Share
External POC / Exploit Code
Leaving vuln.today