Lucene search
+L

Webmin <= 1.941 RCE Vulnerability

🗓️ 17 Jun 2019 00:00:00Reported by Copyright (C) 2019 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 2989 Views

Webmin <= 1.941 RCE Vulnerability. Remote code execution via 'Package Updates' module. Exploitable by authorized user

Related
Refs
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for OS Command Injection in Webmin
9 Nov 201917:48
githubexploit
GithubExploit
Exploit for OS Command Injection in Webmin
5 Nov 201919:22
githubexploit
GithubExploit
Exploit for OS Command Injection in Webmin
5 Oct 202118:10
githubexploit
Circl
CVE-2019-12840
11 Jun 201900:00
circl
CNVD
Webmin Arbitrary Command Execution Vulnerability
17 Jun 201900:00
cnvd
Check Point Advisories
Webmin Command Injection (CVE-2019-12840)
18 Apr 202100:00
checkpoint_advisories
CVE
CVE-2019-12840
15 Jun 201919:52
cve
Cvelist
CVE-2019-12840
15 Jun 201919:52
cvelist
Exploit DB
Webmin 1.910 - 'Package Updates' Remote Command Execution (Metasploit)
11 Jun 201900:00
exploitdb
exploitpack
Webmin 1.910 - Package Updates Remote Command Execution (Metasploit)
11 Jun 201900:00
exploitpack
Rows per page
# SPDX-FileCopyrightText: 2019 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.113409");
  script_version("2024-06-28T05:05:33+0000");
  script_tag(name:"last_modification", value:"2024-06-28 05:05:33 +0000 (Fri, 28 Jun 2024)");
  script_tag(name:"creation_date", value:"2019-06-17 10:11:59 +0000 (Mon, 17 Jun 2019)");
  script_tag(name:"cvss_base", value:"9.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-08-24 17:37:00 +0000 (Mon, 24 Aug 2020)");

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

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

  script_cve_id("CVE-2019-12840");

  script_name("Webmin <= 1.941 RCE Vulnerability");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2019 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("webmin.nasl");
  script_mandatory_keys("usermin_or_webmin/installed");

  script_tag(name:"summary", value:"Webmin is prone to a remote code execution (RCE) vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"Any user authorized to the 'Package Updates' module can execute arbitrary
  commands with root privileges via the data parameter to update.cgi.");

  script_tag(name:"impact", value:"Successful exploitation would allow an authorized attacker to gain
  control over the target system.");

  script_tag(name:"affected", value:"Webmin through version 1.941.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure
  of this vulnerability. Likely none will be provided anymore. General solution options are to upgrade to a newer
  release, disable respective features, remove the product or replace the product by another one.");
  # Note: Vendor does not accept the vulnerability as workable exploit, because it requires that the attacker
  # already knows the root password. Hence there will be no fix for it in Webmin.
  script_xref(name:"URL", value:"https://pentest.com.tr/exploits/Webmin-1910-Package-Updates-Remote-Command-Execution.html");
  script_xref(name:"URL", value:"https://www.exploit-db.com/exploits/46984");

  exit(0);
}

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

include( "host_details.inc" );
include( "version_func.inc" );

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

if( ! infos = get_app_version_and_location( cpe: CPE, port: port, exit_no_version: TRUE ) )
  exit( 0 );

version = infos["version"];
location = infos["location"];

if( version_is_less_equal( version: version, test_version: "1.941" ) ) {
  report = report_fixed_ver( installed_version: version, fixed_version: "None", install_path: location );
  security_message( data: report, port: port );
  exit( 0 );
}

exit( 0 );

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

28 Jun 2024 00:00Current
8.9High risk
Vulners AI Score8.9
CVSS 38.8
CVSS 29
EPSS0.77835
2989