45 lines
1.7 KiB
YAML
45 lines
1.7 KiB
YAML
id: CVE-2021-24176
|
|
|
|
info:
|
|
name: WordPress JH 404 Logger <=1.1 - Cross-Site Scripting
|
|
author: Ganofins
|
|
severity: medium
|
|
description: WordPress JH 404 Logger plugin through 1.1 contains a cross-site scripting vulnerability. Referer and path of 404 pages are not properly sanitized when they are output in the WordPress dashboard, which can lead to executing arbitrary JavaScript code.
|
|
remediation: |
|
|
Update to the latest version of WordPress JH 404 Logger plugin (>=1.2) which addresses the XSS vulnerability.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/705bcd6e-6817-4f89-be37-901a767b0585
|
|
- https://wordpress.org/plugins/jh-404-logger/
|
|
- https://ganofins.com/blog/my-first-cve-2021-24176/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24176
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 5.4
|
|
cve-id: CVE-2021-24176
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00136
|
|
epss-percentile: 0.48849
|
|
cpe: cpe:2.3:a:jh_404_logger_project:jh_404_logger:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: jh_404_logger_project
|
|
product: jh_404_logger
|
|
framework: wordpress
|
|
tags: cve,cve2021,wordpress,wp-plugin,xss,wpscan
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/jh-404-logger/readme.txt"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "JH 404 Logger"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4b0a00483046022100d013eec14d2640b815901db22345f02d95cd93b71d0ea0437087627d812841c0022100dbe3e669c411a343c6a3f0c4f1535ed68e7a2ddb5b8cd9affb1ae5f57d807fb7:922c64590222798bb761d5b6d8e72950 |