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


Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$3472.00



Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 64GB 2x10G SFP+ 2x2200W

$3180.00



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



i9 9900k  8-Core 16GB RAM - 1TB SSD - 2 TB HDD - NVIDIA  RTX 4060ti - Gaming PC picture

i9 9900k 8-Core 16GB RAM - 1TB SSD - 2 TB HDD - NVIDIA RTX 4060ti - Gaming PC

$1799.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Lenovo ThinkCentre M900 Intel Core i5-650  8gb Ram 500GB HHD Win 10 pro (READ) picture

Lenovo ThinkCentre M900 Intel Core i5-650 8gb Ram 500GB HHD Win 10 pro (READ)

$89.99



Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core picture

Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core

$79.99



Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H picture

Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H

$429.99



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



Discussions

No Discussions have been posted on this vulnerability.