OSCommerce Info_Message Cross-Site Scripting Vulnerability
BID:7153
Info
OSCommerce Info_Message Cross-Site Scripting Vulnerability
| Bugtraq ID: | 7153 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Mar 20 2003 12:00AM |
| Updated: | Mar 20 2003 12:00AM |
| Credit: | Discovery of this vulnerability has been credited to the iProyectos group. |
| Vulnerable: |
osCommerce osCommerce 2.2 ms1 osCommerce osCommerce 2.1 |
| Not Vulnerable: | |
Discussion
OSCommerce Info_Message Cross-Site Scripting Vulnerability
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.
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.
Exploit / POC
OSCommerce Info_Message Cross-Site Scripting Vulnerability
The following proof of concept was supplied:
http://www.example.com/default.php?info_message=%3Cscript%20language=javascript%3Ewindow.alert%28document.cookie%29;%3C/script%3E
The following proof of concept was supplied:
http://www.example.com/default.php?info_message=%3Cscript%20language=javascript%3Ewindow.alert%28document.cookie%29;%3C/script%3E
References
OSCommerce Info_Message Cross-Site Scripting Vulnerability
References:
References:
- iProyectos Security Advisory:XSS Bugs in osCommerce (iProyectos)
- osCommerce Homepage (osCommerce)
- [IPS] osCommerce multiple XSS vulnerabilities (iProyectos)