Lucene search
+L

No-IP DUC RCE Vulnerability

🗓️ 18 Dec 2008 00:00:00Reported by Copyright (C) 2008 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

No-IP DUC RCE Vulnerability, remote code execution vulnerability due to DNS poisoning in GetNextLine function, affecting No-IP DUC 2.1.7 and earlier on Linux. Upgrade to the latest version of No-IP DUC

Related
Refs
Code
# SPDX-FileCopyrightText: 2008 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.800084");
  script_version("2023-07-28T05:05:23+0000");
  script_tag(name:"last_modification", value:"2023-07-28 05:05:23 +0000 (Fri, 28 Jul 2023)");
  script_tag(name:"creation_date", value:"2008-12-18 14:07:48 +0100 (Thu, 18 Dec 2008)");
  script_tag(name:"cvss_base", value:"7.6");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:C/I:C/A:C");
  script_cve_id("CVE-2008-5297");
  script_name("No-IP DUC RCE Vulnerability");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2008 Greenbone AG");
  script_family("Buffer overflow");
  script_mandatory_keys("login/SSH/success");
  script_dependencies("gather-package-list.nasl");
  script_exclude_keys("ssh/no_linux_shell");

  script_xref(name:"URL", value:"http://www.milw0rm.com/exploits/7151");
  script_xref(name:"URL", value:"http://www.openwall.com/lists/oss-security/2008/11/21/15");

  script_tag(name:"impact", value:"Successful attack could result in remote DNS servers to execute arbitrary
  code via a crafted DNS response.");

  script_tag(name:"affected", value:"No-IP DUC 2.1.7 and prior on Linux.");

  script_tag(name:"insight", value:"The flaw is due to DNS poisoning in the function GetNextLine which fails
  to do length check.");

  script_tag(name:"solution", value:"Upgrade to latest version of No-IP DUC.");

  script_tag(name:"summary", value:"No-IP DUC is prone to a remote code execution (RCE) vulnerability.");

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

  exit(0);
}

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

sock = ssh_login_or_reuse_connection();
if(!sock)
  exit(0);

binFile = ssh_find_bin(prog_name:"noip2", sock:sock);
if(!binFile){
  ssh_close_connection();
  exit(0);
}

foreach binaryFile(binFile){

  binaryFile = chomp(binaryFile);
  if(!binaryFile) continue;

  noipVer = ssh_get_bin_version(full_prog_name:binaryFile, version_argv:"-h", ver_pattern:"Version Linux-([0-9.]+)", sock:sock);
  if(noipVer[1]){
    if(version_is_less_equal(version:noipVer[1], test_version:"2.1.7")){
      report = report_fixed_ver(installed_version:noipVer[1], fixed_version:"See references", install_path:binaryFile);
      security_message(port:0, data:report);
      ssh_close_connection();
      exit(0);
    }
  }
}

ssh_close_connection();
exit(0);

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

28 Jul 2023 00:00Current
7.2High risk
Vulners AI Score7.2
CVSS 27.6
EPSS0.18462
24