GLSA-200409-15 : Webmin, Usermin: Multiple vulnerabilities in Usermin

high Nessus Plugin ID 14705

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200409-15 (Webmin, Usermin: Multiple vulnerabilities in Usermin)

There is an input validation bug in the webmail feature of Usermin.
Additionally, the Webmin and Usermin installation scripts write to /tmp/.webmin without properly checking if it exists first.
Impact :

The first vulnerability allows a remote attacker to inject arbitrary shell code in a specially crafted e-mail. This could lead to remote code execution with the privileges of the user running Webmin or Usermin.
The second could allow local users who know Webmin or Usermin is going to be installed to have arbitrary files be overwritten by creating a symlink by the name /tmp/.webmin that points to some target file, e.g.
/etc/passwd.
Workaround :

There is no known workaround at this time.

Solution

All Usermin users should upgrade to the latest version:
# emerge sync # emerge -pv '>=app-admin/usermin-1.090' # emerge '>=app-admin/usermin-1.090' All Webmin users should upgrade to the latest version:
# emerge sync # emerge -pv '>=app-admin/webmin-1.160' # emerge '>=app-admin/webmin-1.160'

See Also

https://secuniaresearch.flexerasoftware.com/advisories/12488/

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

https://security.gentoo.org/glsa/200409-15

Plugin Details

Severity: High

ID: 14705

File Name: gentoo_GLSA-200409-15.nasl

Version: 1.18

Type: local

Published: 9/12/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:usermin, p-cpe:/a:gentoo:linux:webmin, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 9/12/2004

Reference Information

CVE: CVE-2004-0559, CVE-2004-1468

GLSA: 200409-15