Themes Vulnerabilities
Nexos - Real Estate < 1.6.1 - SQL Injection & Persistent XSS
Description
----[]- SQL Injection: -[]----
Vulnerable 'id' parameter is https://listing-themes.com/nexos-wp/wp-admin/admin.php?page=ownlisting_addlisting&id=8
----[]- Persistent XSS: -[]----
You need a new user account, then go to any property listing on the website and use «ENQUIRY FORM» on the right sidebar. Vulnerable text area is «Message». Injection will trigger on the https://listing-themes.com/nexos-wp/wp-admin/admin.php?page=ownlisting_messages page many times for any basic user.
Or you can press the «REPORT LISTING» button on any property page and use your payload inside the «Message» text box. Injection will trigger on the https://listing-themes.com/nexos-wp/wp-admin/admin.php?page=listing_reports page when administrator will be online.
Payload Sample: <!--<img src="--><img src=x onerror=(alert)(document.cookie)//">
Edit (WPscanTeam) - This has been hot fixed in v1.6 on September 9th, 2019, so there are two v1.6 out there, one with the issues, and one with the fixes. As a result, the fixed in has been set to 1.6.1 (which does not exist yet, but once a new version is released, the issue won't be displayed anymore)