CVE-2017-1000067: Modx/revolution SQL Injection Vulnerability
HIGHCVE-2017-1000067 is a HIGH (CVSS 8.8) sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Modx/revolution libraries in the Packagist ecosystem. The issue involves modx revolution blind sql injection. Remediation is available by upgrading affected packages to version 2.6.0.
CVE-2017-1000067 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-1000067
To remediate this vulnerability, upgrade all affected Modx/revolution dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade modx/revolution to 2.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for modx/revolution
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-1000067, inspect your project dependencies for Modx/revolution:
inspect dependencies for modx/revolution
Analyze the terminal output to locate any version of Modx/revolution in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Modx/revolution, 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-2017-1000067 Affected Modx/revolution Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
modx/revolution
|
Packagist |
≥ 2.0.0
< 2.6.0
|
2.6.0
|
References
Frequently Asked Questions
What is CVE-2017-1000067?
Which Modx/revolution versions are affected?
What version fixes CVE-2017-1000067?
Is modx/revolution affected?
What is the CVSS score of CVE-2017-1000067?
What CWE is associated with CVE-2017-1000067?
How can I check Packagist dependencies for CVE-2017-1000067?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-phhm-6pgm-mxw9",
"modified" : "2024-04-23T17:23:42Z",
"published" : "2022-05-17T02:27:14Z",
"aliases" : [ "CVE-2017-1000067" ],
"summary" : "MODX Revolution blind SQL injection",
"details" : "MODX Revolution version 2.x - 2.5.6 is vulnerable to blind SQL injection caused by improper sanitization by the escape method resulting in authenticated user accessing database and possibly escalating privileges.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "modx/revolution"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.6.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.5.6"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-1000067"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/modxcms/revolution"
}, {
"type" : "WEB",
"url" : "https://github.com/modxcms/revolution/blob/2.x/core/xpdo/changelog.txt#L48"
}, {
"type" : "WEB",
"url" : "https://github.com/modxcms/revolution/blob/9bf1c6cf7bdc12190b404f93ce7798b39c07bc59/core/xpdo/changelog.txt"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-23T17:23:42Z",
"nvd_published_at" : "2017-07-17T13:18:00Z"
}
}