Gentoo Logo

Webmin: Information leak in Gentoo binary package

Content:

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

Synopsis

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

2.  Impact Information

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.

3.  Resolution Information

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:

Code Listing 3.1: Resolution

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

4.  References



Print

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-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.