Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Commerce)  >   osCommerce Vendors:   osCommerce
osCommerce Flaws Permit Cross-Site Scripting and Cross-Site Request Forgery Attacks to Create New Admin Accounts
SecurityTracker Alert ID:  1029189
SecurityTracker URL:
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Oct 16 2013
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of system information, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): prior to
Description:   Some vulnerabilities were reported in osCommerce. A remote user can conduct cross-site scripting attacks. A remote user can conduct cross-site request forgery attacks. A remote user can create new administrator accounts.

The 'products_id' parameter of the 'product_info.php' script does not properly filter HTML code from user-supplied input before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the osCommerce software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A demonstration exploit URL is provided:


The 'administrators.php' page does not properly validate user requests. A remote user can conduct cross-site request forgery attacks to cause the target administrator to delete all admin accounts when viewing the Who's Online module.

If the admin table in the database is empty, a remote user can exploit a flaw in the admin login page to create a new administrative account with arbitrary credentials.

The original advisory is available at:

Chris Wood reported this vulnerability.

Impact:   A remote user can create a new administrative account with arbitrary credentials.
Solution:   The vendor has issued a fix (

The vendor's advisory is available at:

Vendor URL: (Links to External Site)
Cause:   Access control error, Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.

 Source Message Contents

[Original Message Not Available for Viewing]

Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC