CVE-2020-29156: Woocommerce/woocommerce Remote Code Execution Vulnerability
MODERATECVE-2020-29156 is a MODERATE (CVSS 5.3) remote code execution vulnerability (CWE-863: Incorrect Authorization) affecting Woocommerce/woocommerce libraries in the Packagist ecosystem. The issue involves woocommerce incorrect authorization. Remediation is available by upgrading affected packages to version 4.7.0.
CVE-2020-29156 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-2020-29156
To remediate this vulnerability, upgrade all affected Woocommerce/woocommerce 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 woocommerce/woocommerce to 4.7.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for woocommerce/woocommerce
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-29156, inspect your project dependencies for Woocommerce/woocommerce:
inspect dependencies for woocommerce/woocommerce
Analyze the terminal output to locate any version of Woocommerce/woocommerce in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.7.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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Woocommerce/woocommerce, 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-2020-29156 Affected Woocommerce/woocommerce Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
woocommerce/woocommerce
|
Packagist |
< 4.7.0
|
4.7.0
|
References
Frequently Asked Questions
What is CVE-2020-29156?
Which Woocommerce/woocommerce versions are affected?
What version fixes CVE-2020-29156?
Is woocommerce/woocommerce affected?
What is the CVSS score of CVE-2020-29156?
What CWE is associated with CVE-2020-29156?
How can I check Packagist dependencies for CVE-2020-29156?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wwh8-v3j3-gxfw",
"modified" : "2024-01-10T19:29:47Z",
"published" : "2022-05-24T17:37:26Z",
"aliases" : [ "CVE-2020-29156" ],
"summary" : "WooCommerce Incorrect Authorization",
"details" : "The WooCommerce plugin before 4.7.0 for WordPress allows remote attackers to view the status of arbitrary orders via the `order_id` parameter in a `fetch_order_status` action.",
"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" : "woocommerce/woocommerce"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-29156"
}, {
"type" : "WEB",
"url" : "https://github.com/Ko-kn3t/CVE-2020-29156"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/woocommerce/woocommerce"
}, {
"type" : "WEB",
"url" : "https://raw.githubusercontent.com/woocommerce/woocommerce/master/changelog.txt"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-10T19:29:47Z",
"nvd_published_at" : "2020-12-27T19:15:00Z"
}
}