Lucene search
+L

Erlang/OTP (Erlang OTP) Directory Traversal Vulnerability (Sep 2020) - Linux

🗓️ 15 Sep 2025 00:00:00Reported by Copyright (C) 2025 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 11 Views

Erlang Open Telecom Platform directory traversal in httpd inets on Linux.

Related
Refs
Code
# SPDX-FileCopyrightText: 2025 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:erlang:erlang%2fotp";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.119103");
  script_version("2025-09-16T05:38:45+0000");
  script_tag(name:"last_modification", value:"2025-09-16 05:38:45 +0000 (Tue, 16 Sep 2025)");
  script_tag(name:"creation_date", value:"2025-09-15 13:03:57 +0000 (Mon, 15 Sep 2025)");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:N/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-10-09 15:50:15 +0000 (Fri, 09 Oct 2020)");
  script_cve_id("CVE-2020-25623");
  script_name("Erlang/OTP (Erlang OTP) Directory Traversal Vulnerability (Sep 2020) - Linux");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2025 Greenbone AG");
  script_family("Web Servers");
  script_dependencies("gb_erlang_otp_ssh_banner_detect.nasl", "os_detection.nasl");
  script_mandatory_keys("erlang/otp/detected", "Host/runs_unixoide");

  script_xref(name:"URL", value:"https://github.com/erlang/otp/releases/tag/OTP-23.1");
  script_xref(name:"URL", value:"https://github.com/erlang/otp/releases/tag/OTP-22.3.4.6");

  script_tag(name:"summary", value:"Erlang/OTP (Erlang OTP) is prone to a directory traversal
  vulnerability in the httpd module of the inets component.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"impact", value:"The vulnerability makes it possible to read arbitrary files which
  the Erlang system has read access to with for example a specially prepared http request.");

  script_tag(name:"affected", value:"Erlang/OTP (Erlang OTP) versions starting from 22.3.1 and prior
  to 22.3.4.6 and 23.0 only.");

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

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

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

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

if( ! infos = get_app_version_and_location( cpe:CPE, port:port, exit_no_version:TRUE ) )
  exit( 0 );

version = infos["version"];
location = infos["location"];

if( version_in_range_exclusive( version:version, test_version_lo:"22.3.1", test_version_up:"22.3.4.6" ) ) {
  report = report_fixed_ver( installed_version:version, fixed_version:"22.3.4.6", install_path:location );
  security_message( port:port, data:report );
  exit( 0 );
}

if( version_is_equal( version:version, test_version:"23.0" ) ) {
  report = report_fixed_ver( installed_version:version, fixed_version:"23.1", install_path:location );
  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

16 Sep 2025 00:00Current
6.9Medium risk
Vulners AI Score6.9
CVSS 24.3
CVSS 3.17.5
EPSS0.03151
11