GLSA Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 12 May 2004 Posts: 2663
|
Posted: Sat Sep 24, 2005 11:03 am Post subject: [ GLSA 200509-17 ] Webmin, Usermin: Remote code execution th |
|
|
Gentoo Linux Security Advisory
Title: Webmin, Usermin: Remote code execution through PAM authentication (GLSA 200509-17)
Severity: high
Exploitable: remote
Date: September 24, 2005
Bug(s): #106705
ID: 200509-17
Synopsis
If Webmin or Usermin is configured to use full PAM conversations, it is vulnerable to the remote execution of arbitrary code with root privileges.
Background
Webmin and Usermin are web-based system administration consoles. Webmin allows an administrator to easily configure servers and other features. Usermin allows users to configure their own accounts, execute commands, and read e-mails.
Affected Packages
Package: app-admin/webmin
Vulnerable: < 1.230
Unaffected: >= 1.230
Architectures: All supported architectures
Package: app-admin/usermin
Vulnerable: < 1.160
Unaffected: >= 1.160
Architectures: All supported architectures
Description
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.
Resolution
All Webmin users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/webmin-1.230" | All Usermin users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/usermin-1.160" |
References
CAN-2005-3042
Original Advisory
Last edited by GLSA on Mon May 04, 2009 4:16 am; edited 3 times in total |
|