CVE-2023-28121
WooCommerce Payments 4.8.0 - 5.6.1 Authentication Bypass and Privilege Escalation
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
5Exploited in Wild
-Decision
Descriptions
An issue in WooCommerce Payments plugin for WordPress (versions 5.6.1 and lower) allows an unauthenticated attacker to send requests on behalf of an elevated user, like administrator. This allows a remote, unauthenticated attacker to gain admin access on a site that has the affected version of the plugin activated.
The WooCommerce Payments plugin is vulnerable to authentication bypass via the determine_current_user_for_platform_checkout function. This allows unauthenticated attackers to impersonate arbitrary users and perform some actions as the impersonated user, which can lead to site takeover.
WooCommerce-Payments plugin for Wordpress versions 4.8, 4.8.2, 4.9, 4.9.1, 5.0, 5.0.4, 5.1, 5.1.3, 5.2, 5.2.2, 5.3, 5.3.1, 5.4, 5.4.1, 5.5, 5.5.2, and 5.6, 5.6.2 contain an authentication bypass by specifying a valid user ID number within the X-WCPAY-PLATFORM-CHECKOUT-USER header. With this authentication bypass, a user can then use the API to create a new user with administrative privileges on the target WordPress site IF the user ID selected corresponds to an administrator account.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2023-03-10 CVE Reserved
- 2023-03-23 CVE Published
- 2023-05-31 First Exploit
- 2024-08-02 CVE Updated
- 2024-11-17 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-287: Improper Authentication
- CWE-288: Authentication Bypass Using an Alternate Path or Channel
CAPEC
References (7)
URL | Tag | Source |
---|---|---|
https://www.rcesecurity.com/2023/07/patch-diffing-cve-2023-28121-to-compromise-a-woocommerce |
URL | Date | SRC |
---|---|---|
https://github.com/gbrsh/CVE-2023-28121 | 2023-05-31 | |
https://github.com/im-hanzou/Mass-CVE-2023-28121 | 2023-07-14 | |
https://github.com/1337nemojj/CVE-2023-28121 | 2023-11-15 | |
https://github.com/Jenderal92/WP-CVE-2023-28121 | 2023-11-03 | |
https://github.com/rio128128/Mass-CVE-2023-28121-kdoec | 2023-07-12 |
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Automattic Search vendor "Automattic" | Woocommerce Payments Search vendor "Automattic" for product "Woocommerce Payments" | >= 4.8.0 < 4.8.2 Search vendor "Automattic" for product "Woocommerce Payments" and version " >= 4.8.0 < 4.8.2" | wordpress |
Affected
| ||||||
Automattic Search vendor "Automattic" | Woocommerce Payments Search vendor "Automattic" for product "Woocommerce Payments" | >= 5.0.0 < 5.0.4 Search vendor "Automattic" for product "Woocommerce Payments" and version " >= 5.0.0 < 5.0.4" | wordpress |
Affected
| ||||||
Automattic Search vendor "Automattic" | Woocommerce Payments Search vendor "Automattic" for product "Woocommerce Payments" | >= 5.1.0 < 5.1.3 Search vendor "Automattic" for product "Woocommerce Payments" and version " >= 5.1.0 < 5.1.3" | wordpress |
Affected
| ||||||
Automattic Search vendor "Automattic" | Woocommerce Payments Search vendor "Automattic" for product "Woocommerce Payments" | >= 5.2.0 < 5.2.2 Search vendor "Automattic" for product "Woocommerce Payments" and version " >= 5.2.0 < 5.2.2" | wordpress |
Affected
| ||||||
Automattic Search vendor "Automattic" | Woocommerce Payments Search vendor "Automattic" for product "Woocommerce Payments" | >= 5.5.0 < 5.5.2 Search vendor "Automattic" for product "Woocommerce Payments" and version " >= 5.5.0 < 5.5.2" | wordpress |
Affected
| ||||||
Automattic Search vendor "Automattic" | Woopayments Search vendor "Automattic" for product "Woopayments" | >= 5.6.0 < 5.6.2 Search vendor "Automattic" for product "Woopayments" and version " >= 5.6.0 < 5.6.2" | wordpress |
Affected
| ||||||
Automattic Search vendor "Automattic" | Woopayments Search vendor "Automattic" for product "Woopayments" | 4.9.0 Search vendor "Automattic" for product "Woopayments" and version "4.9.0" | wordpress |
Affected
| ||||||
Automattic Search vendor "Automattic" | Woopayments Search vendor "Automattic" for product "Woopayments" | 5.3.0 Search vendor "Automattic" for product "Woopayments" and version "5.3.0" | wordpress |
Affected
| ||||||
Automattic Search vendor "Automattic" | Woopayments Search vendor "Automattic" for product "Woopayments" | 5.4.0 Search vendor "Automattic" for product "Woopayments" and version "5.4.0" | wordpress |
Affected
|