Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> General >> osCommerce Malformed Session ID XSS Vulnerability


Vulnerability Assessment Details

osCommerce Malformed Session ID XSS Vulnerability

Vulnerability Assessment Summary
Detect osCommerce Malformed Session ID XSS

Detailed Explanation for this Vulnerability Assessment

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
permits 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 a XSS flaw. The flaw can be exploited when a
malicious user passes a malformed session ID to URI.

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.

Network Security Threat Level: Medium

Networks Security ID: 9238

Vulnerability Assessment Copyright: This script is Copyright (C) 2003 Noam Rathaus

Cables, Connectors

DELL POWEREDGE R630 10 BAY TWO E5-2687WV3 3.1GHZ 64GB 8 X 1TB SAS H730
$9109.0
DELL POWEREDGE R630 10 BAY TWO E5-2687WV3 3.1GHZ 64GB 8 X 1TB SAS H730 pictureHP PROLIANT ML110 Gen9 G9 SERVER E5-2609V4 1.7GHz 32GB 2 X 1TB SATA
$1639.0
HP PROLIANT ML110 Gen9 G9 SERVER E5-2609V4 1.7GHz 32GB 2 X 1TB SATA pictureHP Z820 WORKSTATION W7 PRO TWO E5-2667 2.90GHZ 32GB 2 X 1TB SATA NVS310 512MB
$2339.0
HP Z820 WORKSTATION W7 PRO TWO E5-2667 2.90GHZ 32GB 2 X 1TB SATA NVS310 512MB pictureDELL POWEREDGE R720XD 3.5 SERVER TWO E5-2650V2 2.60GHZ 64GB 8 X 1TB SATA 2 X 146
$3019.0
DELL POWEREDGE R720XD 3.5 SERVER TWO E5-2650V2 2.60GHZ 64GB 8 X 1TB SATA 2 X 146 picture


Discussions

No Discussions have been posted on this vulnerability.