Lucene search

K
openvasCopyright (C) 2002 Michel ArboiOPENVAS:136141256231011163
HistoryNov 03, 2005 - 12:00 a.m.

msmmask.exe

2005-11-0300:00:00
Copyright (C) 2002 Michel Arboi
plugins.openvas.org
24

6.5 Medium

AI Score

Confidence

Low

5 Medium

CVSS2

Access Vector

NETWORK

Access 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

0.004 Low

EPSS

Percentile

74.0%

The msmmask.exe CGI is installed.

Some versions allow an attacker to read the source of any
file in your webserver

# SPDX-FileCopyrightText: 2002 Michel Arboi
# 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-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.11163");
  script_version("2023-08-03T05:05:16+0000");
  script_cve_id("CVE-2002-1528");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/5941");
  script_tag(name:"last_modification", value:"2023-08-03 05:05:16 +0000 (Thu, 03 Aug 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_name("msmmask.exe");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2002 Michel Arboi");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"solution", value:"Upgrade your MondoSearch to version 4.4.5156 or later.");

  script_tag(name:"summary", value:"The msmmask.exe CGI is installed.

  Some versions allow an attacker to read the source of any
  file in your webserver's directories by using the 'mask' parameter.");

  script_tag(name:"affected", value:"MondoSearch 4.4.5147 and below.");

  script_tag(name:"qod_type", value:"remote_active");

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

  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");

port = http_get_port(default:80);
if(!http_can_host_asp(port:port))
  exit(0);

foreach dir( make_list_unique( "/", http_cgi_dirs( port:port ) ) ) {

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

  p = string(dir, "/MsmMask.exe");
  q = string(p, "?mask=/vt-test", rand(), ".asp");

  r = http_get(port:port, item:q);
  c = http_keepalive_send_recv(port:port, data:r);
  if(egrep(pattern:"Failed to read the maskfile .*vt-test.*\.asp", string:c, icase:TRUE)) {
    report = http_report_vuln_url(port:port, url:q);
    security_message(port:port, data:report);
    exit(0);
  }

  # Version at or below 4.4.5147
  if(egrep(pattern: "MondoSearch for Web Sites (([0-3]\.)|(4\.[0-3]\.)|(4\.4\.[0-4])|(4\.4\.50)|(4\.4\.51[0-3])|(4\.4\.514[0-7]))", string:c)) {
    security_message(port:port);
    exit(0);
  }
}

exit(99);

6.5 Medium

AI Score

Confidence

Low

5 Medium

CVSS2

Access Vector

NETWORK

Access 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

0.004 Low

EPSS

Percentile

74.0%

Related for OPENVAS:136141256231011163