Lucene search
+L

CubeCart < 3.0.4 Multiple XSS Vulnerabilities

🗓️ 26 Mar 2006 00:00:00Reported by Copyright (C) 2005 Josh Zlatin-AmishavType 
openvas
 openvas
🔗 plugins.openvas.org👁 21 Views

CubeCart < 3.0.4 XSS Vulnerabilitie

Related
Refs
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
Brooky CubeCart < 3.0.4 Multiple XSS
29 Sep 200500:00
nessus
Tenable Nessus
CubeCart < 3.0.4 Multiple Script XSS
6 Oct 200500:00
nessus
CVE
CVE-2005-3152
5 Oct 200504:00
cve
Cvelist
CVE-2005-3152
5 Oct 200504:00
cvelist
Exploit DB
CubeCart 3.0.3 - 'index.php' Multiple Cross-Site Scripting Vulnerabilities
28 Sep 200500:00
exploitdb
Exploit DB
CubeCart 3.0.3 - 'cart.php?redir' Cross-Site Scripting
28 Sep 200500:00
exploitdb
EUVD
EUVD-2005-3152
7 Oct 202500:30
euvd
NVD
CVE-2005-3152
5 Oct 200522:02
nvd
OpenVAS
Multiple CubeCart XSS vulnerabilities
26 Mar 200600:00
openvas
Prion
Cross site scripting
18 Jan 200601:51
prion
Rows per page
# SPDX-FileCopyrightText: 2005 Josh Zlatin-Amishav
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later

CPE = "cpe:/a:cubecart:cubecart";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.19945");
  script_version("2025-09-19T15:40:40+0000");
  script_cve_id("CVE-2005-3152");
  script_tag(name:"last_modification", value:"2025-09-19 15:40:40 +0000 (Fri, 19 Sep 2025)");
  script_tag(name:"creation_date", value:"2006-03-26 17:55:15 +0200 (Sun, 26 Mar 2006)");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_name("CubeCart < 3.0.4 Multiple XSS Vulnerabilities");
  # nb: Seems ACT_MIXED_ATTACK had been used because either the XSS check below is not that reliable
  # or because of the mixed usage of version and active check.
  script_category(ACT_MIXED_ATTACK);
  script_copyright("Copyright (C) 2005 Josh Zlatin-Amishav");
  script_family("Web application abuses");
  script_dependencies("secpod_cubecart_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("cubecart/installed");

  script_xref(name:"URL", value:"https://lostmon.blogspot.com/2005/09/cubecart-303-multiple-variable-cross.html");
  script_xref(name:"URL", value:"https://web.archive.org/web/20210121164542/http://www.securityfocus.com/bid/14962");

  script_tag(name:"summary", value:"CubeCart is prone to multiple cross-site scripting (XSS)
  vulnerabilities due to its failure to properly sanitize user-supplied input of certain variables
  to the 'index.php' and 'cart.php' scripts.");

  script_tag(name:"vuldetect", value:"Depending on the 'safe_checks' setting of the scan
  configuration:

  - Setting 'yes': Checks if a vulnerable version is present on the target host

  - Setting 'no': Sends a crafted HTTP GET request and checks the response");

  script_tag(name:"affected", value:"CubeCart versions prior to 3.0.4.");

  script_tag(name:"solution", value:"Update to version 3.0.4 or later.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_analysis");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("url_func.inc");
include("version_func.inc");
include("misc_func.inc");

if( ! port = get_app_port( cpe:CPE ) )
  exit( 0 );

if( ! infos = get_app_version_and_location( cpe:CPE, port:port, exit_no_version:FALSE ) )
  exit( 0 );

dir = infos["location"];
rep_dir = dir;

if( ! safe_checks() ) {

  if( dir == "/" )
    dir = "";

  vtstrings = get_vt_strings();
  xss = "<script>alert('" + vtstrings["lowercase_rand"] + "');</script>";
  exss = urlencode( str:xss );

  url = string( dir, "/upload/index.php?", 'searchStr=">', exss, "&act=viewCat&Submit=Go" );

  req = http_get( item:url, port:port );
  res = http_keepalive_send_recv( port:port, data:req );

  if( res =~ "^HTTP/1\.[01] 200" && xss >< res ) {
    report = http_report_vuln_url( port:port, url:url );
    security_message( port:port, data:report );
    exit( 0 );
  }
}

if( ! version = infos["version"] )
  exit( 0 );

if( version_is_less_equal( version:version, test_version:"3.0.3" ) ) {
  report = report_fixed_ver( installed_version:version, fixed_version:"3.0.4", install_url:rep_dir );
  security_message( port:port, data:report );
  exit( 0 );
}

exit( 99 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

19 Sep 2025 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 24.3
EPSS0.02235
21