Cypher injection via orderBy placeholder in Spring Data Neo4j custom queries
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 8.0.9 and 8.1.3.
Improper neutralization of special elements in data query logic (Cypher injection) in the orderBy placeholder handling for custom queries in Neo4j Spring Data Neo4j versions 6.1.0 through 8.0.8 and 8.1.0 through 8.1.2 allows a remote attacker to read database contents via blind reads, write read content into new nodes, or, if APOC and APOC file export are enabled, to write query results to a file in the database's accessible file system via crafted sort order parameters. Exploitation requires an application that passes unvalidated user input as the orderBy value to a custom Cypher query using the placeholder directive.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| neo4j | >=6.1.0 <8.0.9, >=8.1.0 <8.1.3 | 8.0.9, 8.1.3 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket