Lucene search
K

Dahua Security Cameras Incorrect Default Permissions (CVE-2019-9679)

🗓️ 29 Jul 2024 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 10 Views

Dahua Security Cameras Incorrect Default Permissions (CVE-2019-9679

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2019-9679
18 Sep 201918:32
cve
Cvelist
CVE-2019-9679
18 Sep 201918:32
cvelist
EUVD
EUVD-2019-19045
7 Oct 202500:30
euvd
NVD
CVE-2019-9679
18 Sep 201919:15
nvd
OSV
CVE-2019-9679
18 Sep 201919:15
osv
Prion
Design/Logic Flaw
18 Sep 201919:15
prion
RedhatCVE
CVE-2019-9679
22 May 202508:58
redhatcve
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(502333);
  script_version("1.5");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/04/21");

  script_cve_id("CVE-2019-9679");

  script_name(english:"Dahua Security Cameras Incorrect Default Permissions (CVE-2019-9679)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"Some of Dahua's Debug functions do not have permission separation.
Low-privileged users can use the Debug function after logging in.
Affected products include: IPC-HDW1X2X,IPC-HFW1X2X,IPC-HDW2X2X,IPC-
HFW2X2X,IPC-HDW4X2X,IPC-HFW4X2X,IPC-HDBW4X2X,IPC-HDW5X2X,IPC-HFW5X2X
for versions which Build time is before August 18,2019.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.");
# script_set_attribute(attribute:"see_also", value:"https://www.dahuasecurity.com/aboutUs/trustedCenter/details/532");
  script_set_attribute(attribute:"solution", value:
"Refer to the vendor advisory.");
  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:U/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:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2019-9679");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(276);

  script_set_attribute(attribute:"vuln_publication_date", value:"2019/09/18");
  script_set_attribute(attribute:"patch_publication_date", value:"2019/09/18");
  script_set_attribute(attribute:"plugin_publication_date", value:"2024/07/29");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:dahuasecurity:ipc-hdw1x2x_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:dahuasecurity:ipc-hdw2x2x_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:dahuasecurity:ipc-hdw4x2x_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:dahuasecurity:ipc-hdw5x2x_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:dahuasecurity:ipc-hdbw4x2x_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:dahuasecurity:ipc-hfw1x2x_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:dahuasecurity:ipc-hfw2x2x_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:dahuasecurity:ipc-hfw4x2x_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:dahuasecurity:ipc-hfw5x2x_firmware");
  script_set_attribute(attribute:"generated_plugin", value:"former");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Tenable.ot");

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

  script_dependencies("tenable_ot_api_integration.nasl");
  script_require_keys("Tenable.ot/DahuaSecurity");

  exit(0);
}


include('tenable_ot_cve_funcs.inc');

get_kb_item_or_exit('Tenable.ot/DahuaSecurity');

var asset = tenable_ot::assets::get(vendor:'DahuaSecurity');

var vuln_cpes = {
    "cpe:/o:dahuasecurity:ipc-hdw1x2x_firmware" :
        {"versionEndExcluding" : "2019-08-18", "family" : "DahuaSecurityIPCameras"},
    "cpe:/o:dahuasecurity:ipc-hdw2x2x_firmware" :
        {"versionEndExcluding" : "2019-08-18", "family" : "DahuaSecurityIPCameras"},
    "cpe:/o:dahuasecurity:ipc-hdw4x2x_firmware" :
        {"versionEndExcluding" : "2019-08-18", "family" : "DahuaSecurityIPCameras"},
    "cpe:/o:dahuasecurity:ipc-hdw5x2x_firmware" :
        {"versionEndExcluding" : "2019-08-18", "family" : "DahuaSecurityIPCameras"},
    "cpe:/o:dahuasecurity:ipc-hdbw4x2x_firmware" :
        {"versionEndExcluding" : "2019-08-18", "family" : "DahuaSecurityIPCameras"},
    "cpe:/o:dahuasecurity:ipc-hfw1x2x_firmware" :
        {"versionEndExcluding" : "2019-08-18", "family" : "DahuaSecurityIPCameras"},
    "cpe:/o:dahuasecurity:ipc-hfw2x2x_firmware" :
        {"versionEndExcluding" : "2019-08-18", "family" : "DahuaSecurityIPCameras"},
    "cpe:/o:dahuasecurity:ipc-hfw4x2x_firmware" :
        {"versionEndExcluding" : "2019-08-18", "family" : "DahuaSecurityIPCameras"},
    "cpe:/o:dahuasecurity:ipc-hfw5x2x_firmware" :
        {"versionEndExcluding" : "2019-08-18", "family" : "DahuaSecurityIPCameras"}
};

tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_WARNING);

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

21 Apr 2026 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 26.5
CVSS 3.18.8
EPSS0.00862
10