Webmin: Information leak in Gentoo binary package — GLSA 200502-12

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

Affected Packages

app-admin/webmin on all architectures
Affected versions < 1.170-r3
Unaffected versions >= 1.170-r3

Background

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.

Description

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.

Impact

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

Workaround

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

Resolution

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:

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

References

Release Date
February 11, 2005

Latest Revision
May 22, 2006: 02

Severity
normal

Exploitable
remote

Bugzilla entries