CVE-2023-23926

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-23926
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23926.json
Aliases
Published
2023-02-16T16:15:12Z
Modified
2023-11-29T10:02:20.730769Z
Details

APOC (Awesome Procedures on Cypher) is an add-on library for Neo4j. An XML External Entity (XXE) vulnerability found in the apoc.import.graphml procedure of APOC core plugin prior to version 5.5.0 and 4.4.0.14 (4.4 branch) in Neo4j graph database. XML External Entity (XXE) injection occurs when the XML parser allows external entities to be resolved. The XML parser used by the apoc.import.graphml procedure was not configured in a secure way and therefore allowed this. External entities can be used to read local files, send HTTP requests, and perform denial-of-service attacks on the application. Abusing the XXE vulnerability enabled assessors to read local files remotely. Although with the level of privileges assessors had this was limited to one-line files. With the ability to write to the database, any file could have been read. Additionally, assessors noted, with local testing, the server could be crashed by passing in improperly formatted XML. The minimum version containing a patch for this vulnerability is 5.5.0. Those who cannot upgrade the library can control the allowlist of the procedures that can be used in your system.

References

Affected packages

Git / github.com/neo4j-contrib/neo4j-apoc-procedures

Affected ranges

Type
GIT
Repo
https://github.com/neo4j-contrib/neo4j-apoc-procedures
Events
Introduced
0The exact introduced commit is unknown
Fixed
Type
GIT
Repo
https://github.com/neo4j/apoc
Events
Introduced
0The exact introduced commit is unknown
Fixed

Affected versions

1.*

1.0.0
1.0.0-RC1
1.1.0

3.*

3.0.4.1
3.1.0.1
3.1.0.2
3.1.0.3
3.1.0.4
3.1.2.5
3.1.3.6
3.2.0.3
3.2.0.4
3.3.0.1
3.3.0.2
3.4.0.1
3.4.0.2
3.4.0.3
3.5.0.0
3.5.0.1
3.5.0.2
3.5.0.3
3.5.0.4

4.*

4.0.0-rc01
4.0.0.0
4.0.0.1
4.0.0.2
4.0.0.3
4.0.0.4
4.0.0.5
4.1.0-rc01
4.1.0.0
4.2.0-rc01
4.3.0-rc01

5.*

5.0.0-rc01
5.0.0-rc02
5.1.0
5.2.0
5.3.0
5.4.0