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

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


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.

See also :

http://www.lac.co.jp/business/sns/intelligence/SNSadvisory_e/83_e.html
http://www.gentoo.org/security/en/glsa/glsa-200509-17.xml

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'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 19816 (gentoo_GLSA-200509-17.nasl)

Bugtraq ID:

CVE ID: CVE-2005-3042