Webmin <= 1.941 Multiple Vulnerabilities

medium Nessus Plugin ID 146531
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 3

Synopsis

The remote web server is affected by multiple vulnerabilities.

Description

According to its self-reported version, the version of Webmin on the remote host is affected by multiple vulnerabilities, including the following:

- An XSS Vulnerability exists in Webmin 1.941 and earlier affecting the Cluster Shell Commands Endpoint.
A user may enter any XSS Payload into the Command field and execute it. Then, after revisiting the Cluster Shell Commands Menu, the XSS Payload will be rendered and executed. (CVE-2020-8820)

- An Improper Data Validation Vulnerability exists in Webmin 1.941 and earlier affecting the Command Shell Endpoint. A user may enter HTML code into the Command field and submit it. Then, after visiting the Action Logs Menu and displaying logs, the HTML code will be rendered (however, JavaScript is not executed).
Changes are kept across users. (CVE-2020-8821)

- XSS exists in Webmin 1.941 and earlier affecting the Save function of the Read User Email Module / mailboxes Endpoint when attempting to save HTML emails. This module parses any output without sanitizing SCRIPT elements, as opposed to the View function, which sanitizes the input correctly. A malicious user can send any JavaScript payload into the message body and execute it if the user decides to save that email. (CVE-2020-12670)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Webmin 1.953 or later.

See Also

http://www.webmin.com/changes.html

http://www.webmin.com/security.html

Plugin Details

Severity: Medium

ID: 146531

File Name: webmin_1_953.nasl

Version: 1.2

Type: remote

Published: 2/16/2021

Updated: 2/19/2021

Dependencies: webmin.nasl

Configuration: Enable paranoid mode

Risk Information

Risk Factor: Medium

VPR Score: 3

CVSS Score Source: CVE-2020-12670

CVSS v2.0

Base Score: 4.3

Temporal Score: 3.2

Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:webmin:webmin

Required KB Items: www/webmin, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 10/12/2020

Vulnerability Publication Date: 10/12/2020

Reference Information

CVE: CVE-2020-8820, CVE-2020-8821, CVE-2020-12670