CubeCart < 3.0.13 Multiple Remote Vulnerabilities (LFI, SQLi, XSS)

high Nessus Plugin ID 22296

Synopsis

The remote web server contains a PHP application that suffers from multiple vulnerabilities.

Description

The version of CubeCart installed on the remote host fails to properly sanitize user-supplied input to the 'gateway' parameter before using it in the 'includes/content/gateway.inc.php' script to include PHP code. An unauthenticated, remote attacker may be able to exploit this issue to view arbitrary files or to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

In addition, the application fails to initialize the 'searchArray' and 'links' array variables, which could be leveraged to launch SQL injection and cross-site scripting attacks respectively against the affected installation as long as PHP's 'register_globals' setting is enabled.

Solution

Either apply the patches referenced in the vendor advisory above or upgrade to CubeCart version 3.0.13 or later.

See Also

http://www.nessus.org/u?f55ad0d3

https://forums.cubecart.com/topic/21540-security-patch-28th-august-2006/

Plugin Details

Severity: High

ID: 22296

File Name: cubecart_3013.nasl

Version: 1.28

Type: remote

Family: CGI abuses

Published: 8/31/2006

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 7.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: cpe:/a:cubecart:cubecart

Required KB Items: www/cubecart

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 8/28/2006

Reference Information

CVE: CVE-2006-4525, CVE-2006-4526, CVE-2006-4527

BID: 19782

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990