Scope: WatchGuard Firewall Appliances. Vendor: WatchGuard Technologies, Inc ( http://www.watchguard.com ). Affected: Vclass appliances running the current version of Vclass software. Legacy RSSA appliances running Vclass software. Legacy RSSA appliances that have not yet upgraded to Vclass software. Risk: Critical Timeline: Aug 22/2002 - First contact with Rapid Response Team. Sep 04/2002 - Sent a working exploit. Sep 12/2002 - Received a working Hotfix for RSSA 1000/6000. Sep 27/2002 - Public release. Description: Multiple remote input validation vulnerabilities in the command line interface that could be exploited to gain root level access to the appliance. Details: The RapidStream login procedure works as follows: - Hacked openssh binary receives authentication parameters from client, not doing any authentication, rather than confirming that the username used is "rsadmin". - The password passed on the SSH login is sent as a parameter to the CLI wrapper (/bin/cli) - The CLI wrapper passes the parameters to the CLI binary, wich proceeds with the authentication, by launching "/bin/.cli -p <password>" Both issues relay on the fact that SSH doesn't do any type of real authentication, wich allows any outside user to execute the CLI binary, depending only that the username should be "rsadmin", wich is equivalent to the 'root' user on this Linux based appliance. Issue 1: "Format Strings" vulnerability on the password parameter allows an attacker to remotely compromise the firewall appliance. Issue 2: The CLI doesn't properly check for user input, wich could allow an attacker to avoid beeing logged out after the authentication fails, leaving the attacker in the CLI prompt with administrative priviledges. Rapid Response Team issued RS-302-HotFix-31 for 3.02 SP2 and Hotfix 2 for 3.2 SP1, wich should be available at http://watchguard.com/vars/rssa.asp, along with information on this issues. Acknowledgments: Steve Fallin <Steve.Fallin@watchguard.com> - For coordinating this issues with the Rapid Response Team. Rodrigo Cunha <rnbc@netcabo.pt> - For reminding me of the obvious. Best regards, Joao Gouveia ------------ tharbad@kaotik.org
Attachment:
signature.asc
Description: This is a digitally signed message part