Lucene search
+L

D-Link DIR-820 Devices Command Injection (CVE-2023-25280)

🗓️ 07 Jul 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 9 Views

D-Link DIR-820 devices are vulnerable to command injection allowing root privilege escalation.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(241429);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/07/08");

  script_cve_id("CVE-2023-25280");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2024/10/21");

  script_name(english:"D-Link DIR-820 Devices Command Injection (CVE-2023-25280)");

  script_set_attribute(attribute:"synopsis", value:
"The remote router is affected by a command injection vulnerability.");
  script_set_attribute(attribute:"description", value:
"OS Command injection vulnerability in D-Link DIR-820 allows attackers to escalate privileges to root via a crafted
payload with the ping_addr parameter to ping.ccp.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2023-25280&field_date_added_wrapper=all&field_cve=&sort_by=field_date_added&items_per_page=20&url=
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a475f573");
  # https://github.com/migraine-sudo/D_Link_Vuln/tree/main/cmd%20Inject%20in%20pingV4Msg
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?65744f4f");
  script_set_attribute(attribute:"solution", value:
"The impacted product is end-of-life (EoL) and/or end-of-service (EoS). Users should discontinue utilization of the product.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  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:N/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-2023-25280");

  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:"2023/03/15");
  script_set_attribute(attribute:"patch_publication_date", value:"2023/03/15");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/07/07");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/h:d-link:dir-820");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

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

  script_dependencies("d-link_router_detect.nasl");
  script_require_keys("installed_sw/D-Link Routers");

  exit(0);
}

include('vcf.inc');

var app_info = vcf::combined_get_app_info(app:'D-Link Routers');

if (app_info.Model != 'DIR-820')
  audit(AUDIT_HOST_NOT, 'the affected D-Link router model');

var constraints = [
  { 'fixed_version' : '999999.9999', 'fixed_display' : 'The impacted product is end-of-life (EoL) and/or end-of-service (EoS). Users should discontinue utilization of the product.' }
];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);

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

08 Jul 2025 00:00Current
6.9Medium risk
Vulners AI Score6.9
CVSS 3.19.8
EPSS0.98053
SSVC
9