Full Disclosure mailing list archives

Watchguard firewall appliances remote vulnerabilities


From: tharbad () kaotik org (Joao Gouveia)
Date: 27 Sep 2002 04:22:27 +0100

--=-2iFYH9NR5KiCUBnXzzEV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


Scope: WatchGuard Firewall Appliances.=20

Vendor: WatchGuard Technologies, Inc ( http://www.watchguard.com ).=20

Affected:=20
Vclass appliances running the current version of Vclass software.=20
Legacy RSSA appliances running Vclass software.=20
Legacy RSSA appliances that have not yet upgraded to Vclass software.=20

Risk: Critical=20

Timeline:=20

Aug 22/2002 - First contact with Rapid Response Team.=20
Sep 04/2002 - Sent a working exploit.=20
Sep 12/2002 - Received a working Hotfix for RSSA 1000/6000.=20
Sep 27/2002 - Public release.=20

Description: Multiple remote input validation vulnerabilities in the=20
command line interface that could be exploited to gain root level access
to the appliance.=20

Details:=20

The RapidStream login procedure works as follows:=20

- Hacked openssh binary receives authentication parameters from client,
not doing any authentication, rather than confirming that the username
used is "rsadmin".=20

- The password passed on the SSH login is sent as a parameter to the CLI
wrapper (/bin/cli)=20

- The CLI wrapper passes the parameters to the CLI binary, wich proceeds
with the authentication, by launching "/bin/.cli -p <password>"=20

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.=20

Issue 1: "Format Strings" vulnerability on the password parameter allows
an attacker to remotely compromise the firewall appliance.=20

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.=20

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.=20

Acknowledgments:=20

Steve Fallin <Steve.Fallin () watchguard com> - For coordinating this
issues with the Rapid Response Team.=20

Rodrigo Cunha <rnbc () netcabo pt> - For reminding me of the obvious.=20

Best regards,=20

Joao Gouveia=20
------------=20
tharbad () kaotik org

--=-2iFYH9NR5KiCUBnXzzEV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQA9k87zBhvB6ogSmsoRAkTfAJ90aePM+NqVhkUMLWoXmxu+OlFEXgCfY+g3
BFlfpxB6Ht0MMZlskPfBWE8=
=1ytI
-----END PGP SIGNATURE-----

--=-2iFYH9NR5KiCUBnXzzEV--



Current thread: