Office of Communications
Stanhope Hall
Princeton, New Jersey 08544-5264
Telephone 609-258-3601; Fax 609-258-1301

For Immediate Release: December 5, 2000

Contact: Steven Schultz, (609) 258-5729

Standard feature of Web browser design leaves opening for privacy attacks

Princeton, N.J. -- Princeton computer scientists have discovered a trait of Web browser design that allows Web sites to cull private information about the recent browsing histories of visitors.

While there is no evidence that any Web sites use such a snooping tactic, the researchers believe the method could pose serious risks to privacy. The technique is undetectable and defeats nearly all available privacy measures, although design changes in future browsers could reduce the problem.

Edward Felten, professor of computer science, and graduate student Michael Schneider described the technique in the proceedings of Association for Computing Machinery Conference on Computer and Communications Security, a major conference held Nov. 1-4 in Athens.

The researchers have dubbed the technique a "timing attack." It works by exploring the contents of the visiting browser's "cache" of recent activities, a log all browsers compile to increase their speed. In a timing attack, a Web site times how long it takes a browser to respond to queries about other sites. Company, for example, could test how quickly visiting browsers are able to access information from competitor's site. A quick response indicates that the Web user recently visited The test is very reliable, the researchers found.

Timing attacks could allow malicious Web site designers to create a more invasive form of Web "cookies," which are bits of data that Web sites store on visitors' browsers. Cookies are often used, for example, to allow a Web user to return to a password-restricted Web site without having to type in a password each time.

Felten and Schneider created a variation they call "cache cookies." Web sites could force a browser to store cache cookies without the permission required of normal cookies. (Web users have the option of instructing their browsers to reject conventional cookies.)

Any number of unrelated Web sites could then access these cache cookies and use them as a tool for learning whether a Web user has recently visited other Web sites. The scheme presents troubling opportunities to aggregate large amounts of information about Web users who do nothing more than visit sites.

"These qualities make cache cookies very dangerous to the privacy of Web users," the authors assert.

While no countermeasures would completely protect people from such invasion, the authors propose a method for redesigning browsers to prevent the majority of timing attacks. The redesign would employ a device called "domain tagging." It would allow information to be retrieved from the browser's cache of recently visited Web addresses only if the information pertains to the exact site the Web user is currently viewing.

Even that solution, however, is imperfect and does not prevent maliciously designed sites from inserting some forms of dummy addresses into a Web browser's cache and looking them up later.

Nonetheless, the researchers believe that domain tagging could work sufficiently well to assure Web users a reasonable level of privacy. "We think we understand what the solution is and we now are working to implement it," said Felten.

Felten said he felt compelled to publish a description of the potential problem to encourage positive discussion about resolving it. "We believed (timing attacks) would be discovered by other people before long and they would be used," he said. "You need to talk about a problem before it can be solved."