[UNIX] osCommerce Malformed Session ID XSS
From: SecuriTeam (support_at_securiteam.com)
Date: 12/22/03
- Previous message: SecuriTeam: "[UNIX] AutoRank PHP SQL Injection Vulnerabilities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 22 Dec 2003 13:13:20 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
osCommerce Malformed Session ID XSS
------------------------------------------------------------------------
SUMMARY
<http://www.oscommerce.com> 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".
A cross-site scripting vulnerability in the product allows remote
attackers to inject arbitrary HTML and/or JavaScript into the content
returned by the web site using the product.
DETAILS
Vulnerable systems:
* osCommerce version 2.2 Milestone 2 and prior
Immune systems:
* osCommerce version 2.2 Milestone 3
Problem:
osCommerce is vulnerable to a XSS flaw. The flaw can be exploited when a
malicious user passes a malformed session ID to URI. The following is an
example of the flaw: https://path/?osCsid="><iframe
src=http://www.gulftech.org></iframe>.
Solution:
This is the response from the developer. To fix the issue, the $_sid
parameter needs to be wrapped around tep_output_string() in the
tep_href_link() function defined in includes/functions/html_output.php.
Before:
if (isset($_sid)) {
$link .= $separator . $_sid;
}
After:
if (isset($_sid)) {
$link .= $separator . tep_output_string($_sid);
}
osCommerce 2.2 Milestone 3 will redirect the user to the index page when a
malformed session ID is used, so that a new session ID can be generated.
ADDITIONAL INFORMATION
The information has been provided by <mailto:security@gulftech.org>
JeiAr.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[UNIX] AutoRank PHP SQL Injection Vulnerabilities"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- [UNIX] osCommerce SQL Injection Vulnerability (create_account_process.php)
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... vulnerability in the product
allows remote attackers to gain elevated ... * osCommerce version 2.2-MS1, possibly older
versions. ... osCommerce is vulnerable to SQL Injection vulnerability in the ...
(Securiteam) - [NT] Cross Site Scripting Vulnerability in osCommerce
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... A vulnerability in osCommerce
allows a malicious attacker to run Cross ... Site Scripting attacks on vulnerable systems.
... (Securiteam) - [NT] Netegrity SiteMinder smpwservicescgi.exe Target Redirection
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Due to improper filtering
of user provided data, a remote attacker can ... This allows an attacker to redirect
the user to whatever site ... (Securiteam) - [NT] WebArchiveX Unsafe Methods Vulnerability
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... String userAgent,
... scripting' entry, but unfortunately has not changed the version number. ...
(Securiteam) - [NEWS] IBM Net.Data Macro Name Cross-Site Scripting Vulnerability
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... The vulnerability
is caused due to an input validation error in the db2www ... The vendor recommends that
the "DTW_DEFAULT_ERROR_MESSAGE" feature (or ... (Securiteam)