CVE-2022-23532

High

Description

APOC (Awesome Procedures on Cypher) is an add-on library for Neo4j that provides hundreds of procedures and functions. A path traversal vulnerability found in the apoc.export.* procedures of apoc plugins in Neo4j Graph database. The issue allows a malicious actor to potentially break out of the expected directory. The vulnerability is such that files could only be created but not overwritten. For the vulnerability to be exploited, an attacker would need access to execute an arbitrary query, either by having access to an authenticated Neo4j client, or a Cypher injection vulnerability in an application. The minimum versions containing patch for this vulnerability are 4.4.0.12 and 4.3.0.12 and 5.3.1. As a workaround, you can control the allowlist of the procedures that can be used in your system, and/or turn off local file access by setting apoc.export.file.enabled=false.

SeverityHigh
CVSS7.1
Exploit probability—
ProductNeo4j Awesome Procedures On Cyper
PublishedJan 14, 2023
First seenJan 14, 2023

How to fix

Update
  • neo4j awesome_procedures_on_cyper4.3.0.12, 4.4.0.12 or later
  • org.neo4j.procedure:apoc4.3.0.12, 4.4.0.12 or later

Affected products

ProductAffected versionsFixed in
neo4j awesome_procedures_on_cyperv < 4.3.0.12, 4.4.0.0 ≤ v < 4.4.0.12, 5.3.04.3.0.12, 4.4.0.12
org.neo4j.procedure:apocMavenv < 4.3.0.12, 4.4.0.0 ≤ v < 4.4.0.124.3.0.12, 4.4.0.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.