Webmin <= 1.941 Multiple Vulnerabilities

medium Nessus Plugin ID 146531

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

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2020-12670

CVSS v3

Risk Factor: Medium

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: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:webmin:webmin

Required KB Items: Settings/ParanoidReport, www/webmin

Exploit Ease: No known exploits are available

Patch Publication Date: 10/12/2020

Vulnerability Publication Date: 10/12/2020

Reference Information

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