Lucene search

K
nessusThis script is Copyright (C) 1999-2021 Tenable Network Security, Inc.WEBCART.NASL
HistorySep 10, 1999 - 12:00 a.m.

Webcart Default Install Configuration Disclosure

1999-09-1000:00:00
This script is Copyright (C) 1999-2021 Tenable Network Security, Inc.
www.tenable.com
455

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

EPSS

0.002

Percentile

51.4%

At least one of these file or directories is world readable :

/webcart/orders/ /webcart/orders/import.txt /webcart/carts/ /webcart/config/ /webcart/config/clients.txt /webcart-lite/orders/import.txt /webcart-lite/config/clients.txt

This misconfiguration may allow an attacker to gather the credit card numbers of your clients.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

#
# Written after the advisory of MindSec
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(10298);
  script_version("1.38");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");

  script_cve_id("CVE-1999-0610");
  script_bugtraq_id(2281);

  script_name(english:"Webcart Default Install Configuration Disclosure");
  script_summary(english:"Checks for the webcart misconfiguration.");

  script_set_attribute(attribute:"synopsis", value:"The remote CGI script is vulnerable to information disclosure.");
  script_set_attribute(attribute:"description", value:
"At least one of these file or directories is world readable :

 /webcart/orders/
 /webcart/orders/import.txt
 /webcart/carts/
 /webcart/config/ 
 /webcart/config/clients.txt
 /webcart-lite/orders/import.txt
 /webcart-lite/config/clients.txt

This misconfiguration may allow an attacker to gather the credit card
numbers of your clients.");
  script_set_attribute(attribute:"see_also", value:"https://marc.info/?l=bugtraq&m=92462991805485&w=2");
  script_set_attribute(attribute:"solution", value:"Restrict read permissions on the webcart directories.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"1999/04/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"1999/09/10");

  script_set_attribute(attribute:"potential_vulnerability", value:"true");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 1999-2021 Tenable Network Security, Inc.");
  script_family(english:"CGI abuses");

  script_dependencie("http_version.nasl", "find_service1.nasl", "no404.nasl");
  script_require_keys("Settings/ParanoidReport");
  script_require_ports("Services/www", 80);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

if (report_paranoia < 2) audit(AUDIT_PARANOID);

port = get_http_port(default:80);

c[0] = "/webcart/orders/";
c[1] = "/webcart/orders/carts/.txt";
c[2] = "/webcart/config/";
c[3] = "/webcart/carts/";
c[4] = "/webcart/config/clients.txt";
c[5] = "/webcart-lite/config/clients.txt";
c[6] = "/webcart-lite/orders/import.txt";
c[7] = "";

for(i = 0 ; c[i] ; i = i + 1)
{
  if(is_cgi_installed3(item:c[i], port:port))
  {
    security_warning(port);
    exit(0);
  }
}

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

EPSS

0.002

Percentile

51.4%

Related for WEBCART.NASL