RealtyScript v4.0.2 Multiple CSRF And Persistent XSS Vulnerabilities

Title: RealtyScript v4.0.2 Multiple CSRF And Persistent XSS Vulnerabilities
Advisory ID: ZSL-2015-5269
Type: Local/Remote
Impact: Cross-Site Scripting
Risk: (3/5)
Release Date: 19.10.2015
Summary
RealtyScript is award-winning real estate software that makes it effortless for a real estate agent, office, or entrepreneur to be up and running with a real estate web site in minutes. The software is in daily use on thousands of domain names in over 40 countries and has been translated into over 25 languages.
Description
The application allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to perform certain actions with administrative privileges if a logged-in user visits a malicious web site. Multiple cross-site scripting vulnerabilities were also discovered. The issue is triggered when input passed via the multiple parameters is not properly sanitized before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
Vendor
Next Click Ventures - http://www.realtyscript.com
Affected Version
4.0.2
Tested On
Apache/2.4.6 (CentOS)
PHP/5.4.16
MariaDB-5.5.41
Vendor Status
[01.10.2015] Vulnerability discovered.
[08.10.2015] Vendor contacted.
[18.10.2015] No response from the vendor.
[19.10.2015] Public security advisory released.
PoC
realtyscript_xsscsrf.txt
Credits
Vulnerability discovered by Gjoko Krstic - <gjoko@zeroscience.mk>
References
[1] https://www.exploit-db.com/exploits/38496/
[2] https://packetstormsecurity.com/files/134016
[3] https://cxsecurity.com/issue/WLB-2015100131
[4] https://exchange.xforce.ibmcloud.com/vulnerabilities/107426
Changelog
[19.10.2015] - Initial release
[21.10.2015] - Added reference [2] and [3]
[31.10.2015] - Added reference [4]
Contact
Zero Science Lab

Web: http://www.zeroscience.mk
e-mail: lab@zeroscience.mk