Are you looking to have your application properly secured by an experienced professional? Contact us today for a free private consultation. We specialize in web application security, mobile security, and also offer general consultation services. Click here for more information regarding all of our security services.
osCommerce SQL Injection
Vendor: osCommerce
Product: osCommerce
Version: <= 2.2-MS1
BID: 9211
osCommerce is an online shop e-commerce solution under on going development by the open source community. Its feature packed out-of-the-box installation allows store owners to setup, run, and maintain their online stores with minimum effort and with absolutely no costs or license fees involved.

osCommerce is vulnerable to SQL Injection vulnerability in the create_account_process.php & account_edit_process.php files. osCommerce 2.2-MS1 is the affected version, and older versions are likely to be affected as well. The attack can be carried out by a malicious user who is registering an account or editing an existing account. All one has to do to exploit the vulnerability is save the registration form offline. After doing so an attacker can edit the "country" field to include SQL.

The vendor was not contacted as the problem seems to not be present in osCommerce 2.2-MS2 Users are advised upgrade to the current milestone release Below is a script you can use to test if your version is vulnerable.

osCommerce 2.2 MS1 Proof Of Concept

A patch has also been released to address this issue for MS1 users.

James Bercegay of the GulfTech Security Research Team.