osCommerce 2.1/2.2 - Info_Message Cross-Site Scripting

Author: iProyectos group
type: webapps
platform: php
port: 0
date_added: 2003-03-20
date_updated: 2012-11-01
verified: 1
codes: 
tags: 
aliases: 
screenshot_url: 
application_url: 

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

It has been reported that osCommerce does not sufficiently filter URI parameters supplied to multiple osCommerce scripts.

As a result of this deficiency, it is possible for a remote attacker to create a malicious link containing script code that will be executed in the browser of a legitimate user. All code will be executed within the context of the website running osCommerce.

This may allow for theft of cookie-based authentication credentials and other attacks.

This vulnerability was reported to affect osCommerce version 2.2ms1, prior versions are reportedly affected.

http://www.example.com/default.php?info_message=%3Cscript%20language=javascript%3Ewindow.alert%28document.cookie%29;%3C/script%3E
↑