Lucene search
+L

Portainer UI No Administrator Vulnerability

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

Portainer UI Administrator Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
Portainer has an unspecified vulnerability (CNVD-2019-40492)
22 Nov 201800:00
cnvd
cve
CVE
CVE-2018-19367
20 Nov 201809:00
cve
cvelist
Cvelist
CVE-2018-19367
20 Nov 201809:00
cvelist
euvd
EUVD
EUVD-2018-11060
7 Oct 202500:30
euvd
nvd
NVD
CVE-2018-19367
20 Nov 201809:29
nvd
prion
Prion
Design/Logic Flaw
20 Nov 201809:29
prion
redhatcve
RedhatCVE
CVE-2018-19367
9 Jan 202612:00
redhatcve
veracode
Veracode
Information Disclosure
21 Nov 201802:02
veracode
# 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.114016");
  script_version("2024-11-05T05:05:33+0000");
  script_tag(name:"last_modification", value:"2024-11-05 05:05:33 +0000 (Tue, 05 Nov 2024)");
  script_tag(name:"creation_date", value:"2018-08-06 11:59:55 +0200 (Mon, 06 Aug 2018)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:P/A:N");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-10-03 00:03:00 +0000 (Thu, 03 Oct 2019)");

  script_cve_id("CVE-2018-19367");

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

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

  script_name("Portainer UI No Administrator Vulnerability");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_portainer_http_detect.nasl");
  script_mandatory_keys("portainer/detected");

  script_tag(name:"summary", value:"Portainer is prone to an information disclosure and
  authentication bypass vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if the Portainer Dashboard UI has no administrator
  user yet or if it would be possible to create a new administrator user.");

  script_tag(name:"insight", value:"The configuration of Portainer might be incomplete and
  therefore it is unprotected and potentially exposed to the public. This vulnerability affects all
  versions until version 1.19.2. Versions later than 1.19.2 stop the Portainer instance after 5
  minutes if no administrator user was created.");

  script_tag(name:"impact", value:"Access to the dashboard gives you top level access to all
  aspects of administration for the cluster it is assigned to manage. That includes managing
  applications, containers, starting workloads, adding and modifying applications, and setting key
  security controls.");

  script_tag(name:"solution", value:"It is highly recommended to create an administrator user to
  avoid exposing your dashboard with administrator privileges to the public. Update to a version
  later than 1.19.2 and always choose a secure password, especially if your dashboard is exposed to
  the public.");

  script_xref(name:"URL", value:"https://info.lacework.com/hubfs/Containers%20At-Risk_%20A%20Review%20of%2021%2C000%20Cloud%20Environments.pdf");
  script_xref(name:"URL", value:"https://github.com/portainer/portainer/issues/2475");
  script_xref(name:"URL", value:"https://github.com/portainer/portainer/pull/2500");

  exit(0);
}

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

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

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

if(!get_app_location(cpe: CPE, port: port, nofork: TRUE))
  exit(0);

res = http_get_cache(port: port, item: "/api/users/admin/check");

if("User not found" >< res || "No administrator account found inside the database" >< res || "Object not found inside the database" >< res) {
  report = "Portainer Dashboard UI is missing an administrator user!";
  security_message(port: port, data: report);
  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

05 Nov 2024 00:00Current
9.4High risk
Vulners AI Score9.4
CVSS 25
CVSS 39.8
EPSS0.01469
126