Hasura GraphQL 1.3.3 - Remote Code Execution
No fixed version listed yet.Check the vendor advisory. References ↓
Hasura · GraphQL
Hasura GraphQL 1.3.3 contains an OS command injection flaw in its run_sql endpoint, which passes attacker-supplied SQL through to PostgreSQL's COPY FROM PROGRAM functionality. An unauthenticated remote attacker with network access can craft a malicious GraphQL query to execute arbitrary shell commands on the host, with no user interaction or special configuration required.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 10 months after disclosure. Public exploit code (Exploit-DB) was available 5 years before disclosure.
- Public exploit codeExploit-DB5 yrs before
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+10 mo
Affected versions and fixes
as published in the CVE recordHasura GraphQL
Affected: 1.3.3