// For flags

CVE-2023-28121

WooCommerce Payments 4.8.0 - 5.6.1 Authentication Bypass and Privilege Escalation

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

5
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
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.

*Credits: mikemyers
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-03-10 CVE Reserved
  • 2023-03-23 CVE Published
  • 2023-05-31 First Exploit
  • 2024-08-02 CVE Updated
  • 2024-09-09 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-287: Improper Authentication
  • CWE-288: Authentication Bypass Using an Alternate Path or Channel
CAPEC
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