Lucene search

K
nessusThis script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.DLINK_DIR-610_CVE-2020-9377.NASL
HistoryFeb 09, 2024 - 12:00 a.m.

DLink DIR-610 Multiple Vulnerabilities

2024-02-0900:00:00
This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
14
dlink dir-610
remote command execution
information disclosure
vulnerabilities
unsupported version
nessus scanner

CVSS2

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

8.6

Confidence

High

EPSS

0.97

Percentile

99.8%

The version of DLink installed on the remote host is unsupported and affected by multiple vulnerabilities as referenced in the vendor advisory.

  • D-Link DIR-610 devices allow Remote Command Execution via the cmd parameter to command.php

  • D-Link DIR-610 devices allow Information Disclosure via SERVICES=DEVICE.ACCOUNT%0AAUTHORIZED_GROUP=1 to getcfg.php

Note: These vulnerabilities only affect products that are no longer supported by the maintainer. Nessus has not tested for this issue but has instead relied only on the application’s self-reported version number.

#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(190370);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2024/02/11");

  script_cve_id("CVE-2020-9376", "CVE-2020-9377");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/04/15");

  script_name(english:"DLink DIR-610 Multiple Vulnerabilities");

  script_set_attribute(attribute:"synopsis", value:
"A web application is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of DLink installed on the remote host is unsupported and affected by multiple vulnerabilities
 as referenced in the vendor advisory.  

  - D-Link DIR-610 devices allow Remote Command Execution via the cmd parameter to command.php 

  - D-Link DIR-610 devices allow Information Disclosure via SERVICES=DEVICE.ACCOUNT%0AAUTHORIZED_GROUP=1
    to getcfg.php

Note: These vulnerabilities only affect products that are no longer supported by the maintainer. Nessus 
has not tested for this issue but has instead relied only on the application's self-reported version number.");
  # https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10182
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?243a769a");
  script_set_attribute(attribute:"solution", value:
"All consumers still using the product should immediately retire and replace the device.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-9377");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2020/07/09");
  script_set_attribute(attribute:"patch_publication_date", value:"2020/07/09");
  script_set_attribute(attribute:"plugin_publication_date", value:"2024/02/09");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/h:dlink:dir");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Web Servers");

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

  script_dependencies("dlink_dir_www_detect.nbin");
  script_require_keys("installed_sw/DLink DIR");

  exit(0);
}

include('vcf.inc');

var app_info = vcf::combined_get_app_info(app:'DLink DIR'); 

var constraints = [
  { 'DIR-610': 
    {'constraints': [
        {'fixed_version' : '9999', 'fixed_display': 'This device is no longer supported, retire and replace the device immediately.' }
      ]
    }
  }
];

var tmp = NULL;
if(!empty_or_null(app_info.model))
{
  for (var i=0; i<max_index(constraints); i++)
  {
    tmp = constraints[i][app_info.model]['constraints'];

    if (!empty_or_null(tmp))
      vcf::check_version_and_report(app_info:app_info, constraints:tmp, severity:SECURITY_WARNING);
    else vcf::audit();
  }
}
else exit(0, 'DLink DIR device model not detected');

CVSS2

6.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI Score

8.6

Confidence

High

EPSS

0.97

Percentile

99.8%