CVE-2019-25060: Wp graphql/wp graphql Improper Access Control Vulnerability
MODERATECVE-2019-25060 is a MODERATE (CVSS 5.3) improper access control vulnerability (CWE-284: Improper Access Control) affecting Wp graphql/wp graphql libraries in the Packagist ecosystem. The issue involves improper access control in wp-graphql. Remediation is available by upgrading affected packages to version 0.3.5.
CVE-2019-25060 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2019-25060
To remediate this vulnerability, upgrade all affected Wp graphql/wp graphql 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 wp-graphql/wp-graphql to 0.3.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for wp-graphql/wp-graphql
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-25060, inspect your project dependencies for Wp graphql/wp graphql:
inspect dependencies for wp-graphql/wp-graphql
Analyze the terminal output to locate any version of Wp graphql/wp graphql in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.5), 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Wp graphql/wp graphql, 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-2019-25060 Affected Wp graphql/wp graphql Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wp-graphql/wp-graphql
|
Packagist |
< 0.3.5
|
0.3.5
|
References
Frequently Asked Questions
What is CVE-2019-25060?
Which Wp graphql/wp graphql versions are affected?
What version fixes CVE-2019-25060?
Is wp-graphql/wp-graphql affected?
What is the CVSS score of CVE-2019-25060?
What CWE is associated with CVE-2019-25060?
How can I check Packagist dependencies for CVE-2019-25060?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w3xg-7q6m-3xwp",
"modified" : "2022-05-25T19:38:28Z",
"published" : "2022-05-10T00:00:20Z",
"aliases" : [ "CVE-2019-25060" ],
"summary" : "Improper Access Control in wp-graphql",
"details" : "The WPGraphQL WordPress plugin before 0.3.5 doesn't properly restrict access to information about other users' roles on the affected site. Because of this, a remote attacker could forge a GraphQL query to retrieve the account roles of every user on the site.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "wp-graphql/wp-graphql"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-25060"
}, {
"type" : "WEB",
"url" : "https://github.com/wp-graphql/wp-graphql/pull/900"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wp-graphql/wp-graphql"
}, {
"type" : "WEB",
"url" : "https://wpscan.com/vulnerability/393be73a-f8dc-462f-8670-f20ab89421fc"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-05-25T19:38:28Z",
"nvd_published_at" : "2022-05-09T17:15:00Z"
}
}