Cookie data in IE may be vulnerable to snooping

Thousands of e-commerce sites use cookies to authenticate users or store private information. However, those cookies could be exposed by IE and intercepted by a third-party Web site, according to an Internet privacy watchdog group.

Seattle-based Peacefire.org has demonstrated that by using a specially constructed URL, a Web site can read IE cookies set from any domain. For example, to read an Amazon.com cookie, a site might direct the user's browser to www.peacefire.org%2fsecurity%2fiecookies%2fshowcookie.html%3F.amazon.com. Peacefire points out that if the "%2f"'s ares replaced with "/" characters, and the "%3F" with "?", this URL is actuallywww.peacefire.org/security/iecookies/showcookie.html?.amazon.com.

This hack confuses IE into thinking the page is located in the Amazon.com domain and allows the page to read the user's Amazon.com cookie. Normally, only the site that issued a cookie has permission to read data within that cookie.

According to Peacefire, all known versions of Internet Explorer for Windows 95, 98 and NT are affected. The organisation reports that IE for the Macintosh and Unix do not appear to be affected, and no version of Netscape Navigator or any other browser is vulnerable.

Peacefire says the safest workaround for Windows IE users is to disable JavaScript. When the browser loads a URL like www.peacefire.org%2fsecurity%2fiecookies%2fshowcookie.html%3F.amazon.com, the Amazon.com cookie is only available to JavaScript code on the page; it is not submitted to the server in a Hypertext Transfer Protocol (HTTP) header.

A spokesman for Microsoft said on Friday that the company is working on a patch for the IE cookie issue to be released shortly. A security bulletin will be published at www.microsoft.com/technet/security/default.asp to discuss the issue and advise customers how to obtain and apply the patch. Microsoft also plans to send the bulletin via its Product Security Notification Service to more than 100,000 subscribers.

Microsoft acknowledges that the vulnerability could allow a malicious Web site operator to read, change or delete cookies that belong to another Web site, the spokesman said. However, according to the company, the vulnerability could not be used by a malicious Web site operator to "inventory" what cookies a person had. Instead, the hacker would need to randomly try to recover cookies from various sites.

"Normal security practices recommend that Web sites should never include sensitive data in cookies," the spokesman said, adding that Microsoft Web sites never include sensitive data in cookies. "If these practices are followed, there would be no sensitive data to compromise."

However, Peacefire's Jamie McCarthy said that a number of popular sites deploy cookies that collect sensitive information. He pointed out that intercepting a cookie set by HotMail, Yahoo Mail, or any other free Web-based e-mail sites that use cookies for authentication, could allow the operator of a hostile Web site to break into a visitor's HotMail account and read the contents of the user's inbox. While HotMail cookies do not contain user passwords, they do allow a third party to access a user's HotMail account for as long as that user stays logged in, since each separate login generates a new cookie.

McCarthy also points out that the ability to harvest cookie information could be tempting for unscrupulous marketers. Intercepting a user's Amazon.com cookie could allow a hacker to visit Amazon.com impersonating that user, and access their real name, e-mail address and the user's list of "recommended titles," which could indicate past purchases of books and CDs. Credit-card numbers or actual lists of previous Amazon.com orders can't be accessed because viewing this information requires a password not contained in the cookie, says McCarthy.

Such a privacy hole can also be used to cull password information. For instance, McCarthy notes that some publications store passwords in cookies. While a password is only needed to browse articles on NYTimes.com and not make purchases, exposing this password is still dangerous since users might have the same password set up for several different sites.

Join the PC World newsletter!

Error: Please check your email address.

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Ann Harrison

PC World
Show Comments

Essentials

Microsoft L5V-00027 Sculpt Ergonomic Keyboard Desktop

Learn more >

Lexar® JumpDrive® S57 USB 3.0 flash drive

Learn more >

Mobile

Lexar® JumpDrive® S45 USB 3.0 flash drive 

Learn more >

Exec

HD Pan/Tilt Wi-Fi Camera with Night Vision NC450

Learn more >

Lexar® Professional 1800x microSDHC™/microSDXC™ UHS-II cards 

Learn more >

Lexar® JumpDrive® C20c USB Type-C flash drive 

Learn more >

Audio-Technica ATH-ANC70 Noise Cancelling Headphones

Learn more >

Budget

Back To Business Guide

Click for more ›

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?