Skip to main content

Grocery Crud CVE-2021-47811

HIGH
SQL Injection (CWE-89)
2026-01-16 disclosure@vulncheck.com
8.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach ajax_list endpoint over network
  2. Delivery
    Craft POST with malicious order_by[] value
  3. Exploit
    Inject SQL into ORDER BY clause
  4. Execution
    Database executes attacker SQL
  5. Impact
    Extract or modify database data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application is built on Grocery Crud 1.6.4 and exposes the framework's ajax_list endpoint, and that the attacker can submit the order_by[] parameter in a POST request - the specific injectable feature named in the description. Per the CVSS vector (PR:N/UI:N), no authentication or user interaction is required and default behavior of the vulnerable ajax_list sorting is sufficient. The principal limiting factor is product scope: only deployments using the vulnerable Grocery Crud version with that endpoint reachable are affected, which is a narrow, developer-library footprint rather than a ubiquitous platform.

Impact

Signals are consistent and point to a genuine but non-urgent issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remotely reachable, low-complexity, unauthenticated vulnerability with high confidentiality impact (VC:H) and limited integrity impact (VI:L), which aligns with the SQL injection (CWE-89) described in the order_by parameter. However, exploitation-likelihood signals are low: EPSS is only 0.02% (5th percentile), the CVE is NOT on CISA KEV (no confirmed active exploitation), and the public exploit is a reference (Exploit-DB 49985) that the input explicitly flags as not verified as working exploit code. The vuln.today priority is 'this_week' rather than act_now/emergency. The tension here is between an inherently serious flaw class (unauthenticated SQLi) and the low real-world exploitation probability plus the obscurity of the affected product - Grocery Crud is a niche PHP/CodeIgniter developer library, not a widely deployed enterprise target, which is the most likely reason EPSS and priority are modest. No conflicting data in the CVSS metrics themselves; the main gap is the absence of a confirmed fixed version in the supplied evidence.

Exploit ScenarioDerived

A remote attacker sends a crafted POST request to the ajax_list endpoint of an application built on Grocery Crud 1.6.4, injecting malicious SQL through the order_by[] parameter to read or alter backend database contents. Because the CVSS vector is AV:N/AC:L/PR:N/UI:N, no authentication or user interaction is required and the request can be automated. A public PoC reference exists (Exploit-DB 49985); it is not verified as working exploit code in the supplied data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Nov 07, 2026

SQL injection in Grocery Crud 1.6.4 allows remote, unauthenticated attackers to manipulate database queries by supplying crafted values through the order_by[] parameter in POST requests to the framework's ajax_list endpoint, with the potential to extract or modify stored data. The vulnerable component is a developer-facing CRUD library rather than a widely deployed platform, so exposure is limited to applications built on this release that expose ajax_list. Exploitation has not been confirmed in the wild (no CISA KEV listing), EPSS is low at 0.02% (5th percentile), and a public PoC reference exists but is not verified as working exploit code.

Earlier versions of this analysis (1)
v1 Mar 12, 2026 - 21:54 CVSS 9.1

SQL injection in Grocery Crud's order_by parameter enables full database compromise.

RemediationAI

No vendor-released patch version is identified in the available data, so the fixed release, if any, should be confirmed against the vendor site and downloads page (https://www.grocerycrud.com/ and https://www.grocerycrud.com/downloads) and checked against the VulnCheck advisory (https://www.vulncheck.com/advisories/grocery-crud-orderby-sql-injection) before upgrading; absence of a listed fix version here is not proof that none exists. Because exploitation depends on the application exposing the framework's ajax_list endpoint and accepting the order_by[] parameter (per the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:N vector, no authentication or user interaction is needed), the practical compensating control is to restrict reachability of that endpoint - require authentication, place it behind network or WAF rules, or disable server-side sorting on grids served to untrusted users - with the trade-off that grid sorting and list rendering for legitimate users will break or degrade, and that such filtering is bypassable unless the parameter is validated against an allow-list of sortable columns. Applications able to modify the library should constrain order_by[] to a fixed set of known column names rather than passing it into the query builder. EPSS is 0.02% and there is no KEV entry, so this is a this_week priority item rather than an emergency, but a public PoC reference exists (not verified as working exploit code).

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Grocery Crud is an open-source PHP/CodeIgniter-oriented CRUD generator that builds data-grid interfaces on top of an application's database tables; its ajax_list endpoint serves the server-side list/sort requests generated by those grids. The flaw is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The order_by[] array parameter, which controls grid sorting, is incorporated into the generated SQL without adequate neutralization, so attacker-supplied content reaches the database query layer rather than being constrained to a fixed set of column identifiers. Because ORDER BY clauses cannot normally be parameterized as ordinary values, this is a classic case of a sort-control input needing strict allow-listing. The CPE cpe:2.3:a:grocerycrud:grocery_crud:*:*:*:*:*:*:*:* uses a wildcard version, so the CPE record itself does not bound the affected range; the advisory and description name 1.6.4 specifically. The trigger conditions described above come from the vulnerability description and the independent assessment; further implementation detail on how the parameter is assembled into the query is not described in the available sources.

Know when Grocery Crud gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 8.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.2 HIGH

Remote unauthenticated SQLi with no user interaction (AV:N/AC:L/PR:N/UI:N); data extraction gives C:H, described modification is limited (I:L), no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Analysis Updated
Nov 07, 2026 - 18:28 vuln.today
v2 - CVSS changed
Severity Changed
Nov 07, 2026 - 18:22 NVD
CRITICAL HIGH
CVSS changed
Nov 07, 2026 - 18:22 NVD
9.1 (CRITICAL) 8.8 (HIGH)
PoC Detected
Feb 02, 2026 - 16:16 vuln.today
Public exploit code
CVE Published
Jan 16, 2026 - 00:16 nvd
CRITICAL 9.1

DescriptionCVE.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.

Executive ViewAI

Why It Matters

Grocery CRUD 1.6.4, a developer library used to build administrative interfaces, contains a SQL injection flaw that could let an unauthenticated attacker tamper with or extract data from applications built on this release. Because the library is not widely deployed and exploitation has not been observed, the immediate enterprise-wide risk is low, but any line-of-business or internal tool relying on this version could expose sensitive records. Leadership should care if such applications exist in production, as a successful attack could undermine data integrity and trust in internal systems.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting network access to the ajax_list endpoint, enforcing strict input validation on the order_by[] parameter, and deploying a web application firewall rule to block SQL injection attempts.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Low
niche PHP/CodeIgniter CRUD developer library, limited production footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium
NVD CVE.org EPSS Exploit-DB VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Medium

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:grocerycrud:grocery_crud:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy