CVE-2013-7259: Neo4j Neo4J Vulnerable To Cross-Site Request Vulnerability
HIGHCVE-2013-7259 is a HIGH neo4j vulnerable to cross-site request vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Neo4j libraries in the Maven ecosystem. The issue involves neo4j vulnerable to cross-site request forgery. Remediation is available by upgrading affected packages to version 2.2.0-M01.
CVE-2013-7259 at a Glance
How to Fix CVE-2013-7259
To remediate this vulnerability, upgrade all affected Neo4j dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j</artifactId>
<version>2.2.0-M01</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.neo4j
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2013-7259, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.neo4j
Analyze the terminal output to locate any version of Neo4j in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.0-M01), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.neo4j command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Neo4j, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2013-7259 Affected Neo4j Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.neo4j:neo4j
|
Maven |
< 2.2.0-M01
|
2.2.0-M01
|
References
Frequently Asked Questions
What is CVE-2013-7259?
Which Neo4j versions are affected?
What version fixes CVE-2013-7259?
Is neo4j affected?
What CWE is associated with CVE-2013-7259?
How can I check Maven dependencies for CVE-2013-7259?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x626-q4v7-7xc6",
"modified" : "2025-04-14T15:44:43Z",
"published" : "2022-05-17T04:38:50Z",
"aliases" : [ "CVE-2013-7259" ],
"summary" : "Neo4J vulnerable to Cross-Site Request Forgery",
"details" : "Multiple cross-site request forgery (CSRF) vulnerabilities in Neo4J 1.9.2 allow remote attackers to hijack the authentication of administrators for requests that execute arbitrary code, as demonstrated by a request to (1) db/data/ext/GremlinPlugin/graphdb/execute_script or (2) db/manage/server/console/.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.neo4j:neo4j"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.2.0-M01"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-7259"
}, {
"type" : "WEB",
"url" : "https://github.com/neo4j/neo4j/issues/2826"
}, {
"type" : "WEB",
"url" : "https://github.com/neo4j/neo4j/commit/40ad76078a25666d8b218772b6491fb443020df9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/neo4j/neo4j"
}, {
"type" : "WEB",
"url" : "https://github.com/o2platform/DefCon_RESTing/tree/master/Live-Demos/Neo4j"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20131017043717/http://blog.diniscruz.com/2013/08/neo4j-csrf-payload-to-start-processes.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/01/03/3"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2014/01/03/8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352", "CWE-78" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-14T15:44:43Z",
"nvd_published_at" : "2014-04-29T14:38:00Z"
}
}