The following will also be used as part of my day job. To ITSec types, it’s likely old hat, but it may be new to some of my readers. Some terminology in here is my-job-specific, but I did try to generalize it as much as possible.
What is it?
Firesheep is a readily-available and easily-installed add on for Firefox, a commonly-used web browser. It allows the person using it to, within certain parameters, steal web cookies used for authorization on many common websites, mostly social networking but also, most notably, Hotmail. This is a form of attack commonly known as sidejacking. Note that while this document largely talks about uw-wireless, everything about that network applies equally to any open or unsecured wireless network, such as uw-guest or those commonly found in coffee shops, restaurants, and other places offering free service to customers.
Please note that discussing a tool does not condone its use. In particular, the use of Firesheep on a campus network is a violation of the principles laid down in the Guidelines on Use of Waterloo Computing and Network Resources and, as noted by these Guidelines, is subject to discipline under the appropriate University Policy or Policies. Use of Firesheep here, or anywhere else, may furthermore violate local laws and regulations on privacy, mischief, or wiretapping.
What does it mean?
Firesheep makes it easy for anybody who can click a mouse to be able to access these websites as if they were the person whose credentials they’ve stolen – and that person may not even be aware of the accesses.
How does it work?
The victim has to be on the same wireless access point, using the same wireless network, as the attacker. That implies a certain physical proximity. The wireless network must be open, and the victim must be using the network at the same time as the attacker, and must be accessing these sites (but see below, the victim may not necessarily know they were using a particular website, embedded content can cause problems).
When Firesheep is started, the attacker’s computer starts passively watching the network for authentication credentials. When it sees such, it saves them and presents an icon for the attacker to click; this allows the attacker to easily access the website as the victim.
It should be noted that a user may inadvertently access a website. Many websites will have badges to follow the site’s author on Twitter, or link to them on Facebook. Sometimes the simple act of loading that website can cause your browser to send and receive authentication cookies, and therefore expose this information to the attacker.
I don’t use social networks.
Firesheep doesn’t only work on social networks, so you still may not be safe. Web services as varied as Evernote, Cisco, eBay, Amazon, and Slicehost have had Firesheep handlers written for them.
Why doesn’t the University stop it from happening?
This attack takes advantage of two weaknesses in the way victims might access vulnerable websites.
The first weakness is that open networks are precisely as the name implies. All clients transmit all data unencrypted using their wireless radio. Like any radio, anybody can listen in. This means that unless the client takes extra precautions to encrypt data, such as using TLS/SSL encryption on the data stream itself, that data is exposed for anybody within range who’s listening. This means that many websites which do encryption properly, such as almost all banking websites, are not vulnerable to authentication theft in the way that Firesheep accomplishes it.
The second weakness is in the way the vulnerable websites perform authentication and authorization. Without getting too technical, these sites rely on cookies, and merely having that cookie implies both that you are who you say you are, and you’re allowed to access the content you’ve requested. Not all websites have this issue; as noted, banking websites don’t rely on this model. Other sites such as GMail and corporate applications at the University of Waterloo don’t either, and so your credentials there are safe from this attack.
What can I do to protect myself?
The simplest thing you can do is not use open wireless networks. These are ones which do not require a key or password to access. uw-wireless is one such network, but many coffee shops and restaurants and other companies provide such networks for the convenience of their customers. This also affords attackers certain conveniences.
The next-best thing is to not use sites vulnerable to Firesheep attack whilst connected to an open wireless network. Be aware that some sites you visit may effectively force you to give up your credentials anyway, as noted under How Does It Work?
Some clients customized for use by some social networks, such as Tweetdeck, may allow these networks to be used in a manner that does not expose authorization credentials to Firesheep. That does not necessarily mean that these clients always operate in a safe manner.
Some people have authored Firefox extensions which could potentially warn you about the use of Firesheep on your network segment. The use of these extensions (the most commonly mentioned are FireShepherd and BlackSheep) is prohibited on University wireless networks, as they have a deleterious effect on the operation of the campus network and, not incidentally, of the remote service.