Lucene search

K
githubGitHub Advisory DatabaseGHSA-QM4W-4995-VG7F
HistorySep 16, 2022 - 5:43 p.m.

cruddl vulnerable to ArangoDB Query Language (AQL) injection through flexSearch

2022-09-1617:43:10
CWE-74
GitHub Advisory Database
github.com
43
cruddl
aql injection
flexsearch
arangodb
schema
patch
version 3.0.2
version 2.7.0

CVSS3

9.9

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

EPSS

0.002

Percentile

60.7%

Impact

If a vunerable version of cruddl 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.

Patches

The issue has been fixed in version 3.0.2 and in version 2.7.0 of cruddl.

Workarounds

Users can temporarily remove @flexSearchFulltext from their schemas before they can update cruddl.

For more information

If you have any questions or comments about this advisory:

Affected configurations

Vulners
Node
cruddlRange1.1.02.7.0
OR
cruddlRange3.0.03.0.2
VendorProductVersionCPE
*cruddl*cpe:2.3:a:*:cruddl:*:*:*:*:*:*:*:*

CVSS3

9.9

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

EPSS

0.002

Percentile

60.7%

Related for GHSA-QM4W-4995-VG7F