Gentoo Logo

Webmin: Information leak in Gentoo binary package


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200502-12 / Webmin
Release Date February 11, 2005
Latest Revision May 22, 2006: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-admin/webmin < 1.170-r3 >= 1.170-r3 All supported architectures

Related bugreports: #77731


Portage-built Webmin binary packages accidentally include a file containing the local encrypted root password.

2.  Impact Information


Webmin is a web-based system administration console allowing an administrator to easily configure servers and other features. Using the 'buildpkg' FEATURE, or the -b/-B emerge options, Portage can build reusable binary packages for any of the packages available through the Portage tree.


Tavis Ormandy of the Gentoo Linux Security Audit Team discovered that the Webmin ebuild contains a design flaw. It imports the encrypted local root password into the miniserv.users file before building binary packages that include this file.


A remote attacker could retrieve Portage-built Webmin binary packages and recover the encrypted root password from the build host.

3.  Resolution Information


Users who never built or shared a Webmin binary package are unaffected by this.


Webmin users should delete any old shared Webmin binary package as soon as possible. They should also consider their buildhost root password potentially exposed and follow proper audit procedures.

If you plan to build binary packages, you should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/webmin-1.170-r3"

4.  References


Page updated February 11, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.