GLSA-200509-17 : Webmin, Usermin: Remote code execution through PAM authentication

high Nessus Plugin ID 19816

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-200509-17 (Webmin, Usermin: Remote code execution through PAM authentication)

Keigo Yamazaki discovered that the miniserv.pl webserver, used in both Webmin and Usermin, does not properly validate authentication credentials before sending them to the PAM (Pluggable Authentication Modules) authentication process. The default configuration shipped with Gentoo does not enable the 'full PAM conversations' option and is therefore unaffected by this flaw.
Impact :

A remote attacker could bypass the authentication process and run any command as the root user on the target server.
Workaround :

Do not enable 'full PAM conversations' in the Authentication options of Webmin and Usermin.

Solution

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

See Also

https://www.lac.co.jp/

https://security.gentoo.org/glsa/200509-17

Plugin Details

Severity: High

ID: 19816

File Name: gentoo_GLSA-200509-17.nasl

Version: 1.16

Type: local

Published: 10/5/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

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/24/2005

Reference Information

CVE: CVE-2005-3042

GLSA: 200509-17