Paper/Archive/CVE-2021-47748

CVE-2021-47748

Hasura GraphQL — Hasura GraphQL 1.3.3 - Remote Code Execution

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
GraphQL1.3.3–CNA

Scores by source

VulnCheck (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploitexploit-db.com/exploits/49802refgithub.com/hasura/graphql-enginewriteupvulncheck.com/advisories/hasura-graphql-remote-code-execution