Lucene search
+L

Domoticz No Password (HTTP)

🗓️ 23 Aug 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 80 Views

Domoticz control dashboard allows access without a password

Code
# SPDX-FileCopyrightText: 2018 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

CPE = "cpe:/a:domoticz:domoticz";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.113252");
  script_version("2025-11-25T05:40:35+0000");
  script_tag(name:"last_modification", value:"2025-11-25 05:40:35 +0000 (Tue, 25 Nov 2025)");
  script_tag(name:"creation_date", value:"2018-08-23 10:40:44 +0200 (Thu, 23 Aug 2018)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");

  script_tag(name:"qod_type", value:"remote_vul");

  script_tag(name:"solution_type", value:"Mitigation");

  script_name("Domoticz No Password (HTTP)");

  # nb: No attacking request (just access a default page) so no ACT_ATTACK
  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Default Accounts");
  # nb: No need to disable via default_credentials/disable_default_account_checks or
  # gb_default_credentials_options.nasl because this isn't doing any login...
  script_dependencies("gb_domoticz_detect.nasl");
  script_require_ports("Services/www", 8081);
  script_mandatory_keys("domoticz/detected");

  script_tag(name:"summary", value:"By default, the full control dashboard of Domoticz does not
  require a password.");

  script_tag(name:"vuldetect", value:"Tries to access the control dashboard without a password.");

  script_tag(name:"impact", value:"This issue may be exploited by a remote attacker to gain access
  to sensitive information or modify system configuration.");

  script_tag(name:"affected", value:"All Domoticz installations.");

  script_tag(name:"solution", value:"Set a password.");

  exit(0);
}

# nb: Don't exit via islocalhost() or the net_setting_is_* functions here as such a system should be
# definitely access protected.

include( "host_details.inc" );
include( "http_func.inc" );
include( "http_keepalive.inc" );

if( ! port = get_app_port( cpe: CPE ) )
  exit( 0 );

if( ! location = get_app_location( cpe: CPE, port: port ) )
  exit( 0 );

if( location == "/" )
  location = "";

target_url = location + "/json.htm?type=command&param=getconfig";

buf = http_get_cache( item: target_url, port: port );
if( buf =~ "^HTTP/1\.[01] 200" && buf !~ "^HTTP/1\.[01] 403" && buf =~ '"DashboardType"' ) {
  report = http_report_vuln_url(  port: port, url: target_url );
  report = 'It was possible to access the control dashboard without a password.\r\n' + report;
  security_message( data: report, port: port );
  exit( 0 );
}

exit( 99 );

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

25 Nov 2025 00:00Current
7High risk
Vulners AI Score7
80