Lucene search

K
openvasCopyright (C) 2008 Greenbone AGOPENVAS:1361412562310800084
HistoryDec 18, 2008 - 12:00 a.m.

No-IP DUC RCE Vulnerability

2008-12-1800:00:00
Copyright (C) 2008 Greenbone AG
plugins.openvas.org
16

7.6 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:H/Au:N/C:C/I:C/A:C

7.2 High

AI Score

Confidence

Low

0.021 Low

EPSS

Percentile

89.2%

No-IP DUC is prone to a remote code execution (RCE) vulnerability.

# 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);

7.6 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:H/Au:N/C:C/I:C/A:C

7.2 High

AI Score

Confidence

Low

0.021 Low

EPSS

Percentile

89.2%