Webmin: Information leak in Gentoo binary package
Gentoo Linux Security Advisory
||GLSA 200502-12 / Webmin
||February 11, 2005
||May 22, 2006: 02
All supported architectures
Portage-built Webmin binary packages accidentally include a file containing
the local encrypted root password.
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
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.
Users who never built or shared a Webmin binary package are unaffected
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
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/webmin-1.170-r3"