Skip to main content
← All vulnerabilities
CVE-2022-36084GHSA-QM4W-4995-VG7F

cruddl vulnerable to AQL injection through flexSearch

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.2, 2.7.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

cruddl is software for creating a GraphQL API for a database, using the GraphQL SDL to model a schema. If cruddl starting with version 1.1.0 and prior to versions 2.7.0 and 3.0.2 is used to generate a schema that uses `@flexSearchFulltext`, users of that schema may be able to inject arbitrary AQL queries that will be forwarded to and executed by ArangoDB. Schemas that do not use `@flexSearchFulltext` are not affected. The attacker needs to have `READ` permission to at least one root entity type that has `@flexSearchFulltext` enabled. The issue has been fixed in version 3.0.2 and in version 2.7.0 of cruddl. As a workaround, users can temporarily remove `@flexSearchFulltext` from their schemas.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • AEB-labs cruddl

    From 3.0.0 · fixed in 3.0.2; From 1.1.0 · fixed in 2.7.0

  • cruddlnpm

    From 3.0.0 · fixed in 3.0.2

  • cruddlnpm

    From 1.1.0 · fixed in 2.7.0

References 3

GitHub · AEB-labs/cruddl