Title: Webmin Password Brute Force Vulnerability
Severity: HIGH
Description:
Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms, you can setup user accounts, Apache, DNS, file sharing and so on.
Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no external modules. This means that you only need a Perl binary to run Webmin.
Webmin has an error which allows users to both guess valid usernames and attempt brute force password attacks against machines running webmin.
If you enter an invalid username in the username and password prompt displayed by Webmin, you are allowed in to the webmin main screen. You don't have access to the modules, but this allows the user to see that webmin is on the machine. Further, if you enter a valid username but an invalid password, the system gives you an access denied error, thus, you can determine, based on the response from the system, what a valid username is and what an invalid username is. Webmin should respond identically whether it's a valid username or not.
Users are given an indefinite number of attempts at entering a valid password for a valid username. Other services send you to a default "Access denied" URL or something to that effect, but webmin just keeps prompting for a valid password over and over if an invalid password is entered. This makes for simple password cracking attempts via brute force.
Affected Products:
- Webmin Webmin 0.1.0
- Webmin Webmin 0.2.0
- Webmin Webmin 0.21.0
- Webmin Webmin 0.22.0
- Webmin Webmin 0.3.0
- Webmin Webmin 0.31.0
- Webmin Webmin 0.4.0
- Webmin Webmin 0.41.0
- Webmin Webmin 0.42.0
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.