CVE-2021-47748
CRITICALCVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
3Tags
Description
Hasura GraphQL 1.3.3 contains a remote code execution vulnerability that allows attackers to execute arbitrary shell commands through SQL query manipulation. Attackers can inject commands into the run_sql endpoint by crafting malicious GraphQL queries that execute system commands through PostgreSQL's COPY FROM PROGRAM functionality.
Analysis
Hasura GraphQL 1.3.3 has a remote code execution vulnerability allowing attackers to execute arbitrary shell commands through the GraphQL endpoint.
Technical Context
Hasura GraphQL Engine 1.3.3 has a CWE-78 OS command injection vulnerability that allows attackers to inject and execute shell commands through crafted GraphQL queries or metadata operations.
Affected Products
['Hasura GraphQL 1.3.3']
Remediation
Upgrade Hasura GraphQL Engine. Restrict access to the GraphQL endpoint. Implement query complexity limits.
Priority Score
Share
External POC / Exploit Code
Leaving vuln.today