Researchers resurrect and improve CRIME attack against SSL
New techniques bypass existing mitigations and make the attack easier to pull off
IDG News Service - Two researchers from security firm Imperva have devised new techniques that could allow attackers to extract sensitive information from users' encrypted Web traffic.
The new methods build on those used in an attack called CRIME revealed last year that abuses the compression feature of SSL to achieve the same goal.
CRIME decrypts authentication information stored in headers sent during HTTP requests, in particular the session cookies. It works by tricking the victims into loading a malicious piece of JavaScript that forces their browsers to make specifically crafted requests to SSL-enabled websites where they're already logged in.
The attacker needs to have an eavesdropping position on the network that allows him to see the size of the encrypted requests in transit. The trick is that if one of the rogue requests includes a character present in the cookie, it will compress better, since compression works by removing duplicate characters.
By adapting subsequent requests and watching for the compression differences between them, the attacker can determine the whole encrypted cookie one character at a time.
The CRIME attack was mitigated by removing support for SSL compression in the browsers that supported it, for example Google Chrome.
The new attack methods that Imperva researchers Tal Be'ery and Amichai Shulman have devised follow the same principles as CRIME, but target information stored in server responses -- the actual Web content served to the users -- rather than in the users' requests.
The vast majority of sites, SSL enabled or not, compress responses by default, Be'ery said. HTTP compression is supported by most Web servers and is actually recommended for server administrators to have it enabled because it saves bandwidth.
SSL compression is a second compression layer applied to the whole channel -- both requests and responses -- but even with it disabled, HTTP compression is applied to Web server responses in most cases.
This means that secret information stored in encrypted responses is vulnerable to CRIME-like attacks, if some additional CRIME requirements are met.
First the targeted information needs to be prefixed or suffixed with a string that never changes. There are many examples of this, Be'ery said. For example, "Account balance:" or "Credit card:" on an online banking website.
Then, the attacker needs to be able to embed specific data into the response by passing it through URL parameters. Not all websites support this, but many do, he said.
If these conditions are met CRIME can be used to recover secret information from encrypted responses, information that can be something valuable like credit card numbers or personal details.
However, the Imperva researchers did not only make the CRIME attack possible again; they developed a new attack based on it that's easier to pull off and doesn't require network eavesdropping.
- The 20 Best iPhone/iPad Games of 2013 So Far
- 9 Steps to Build Your Personal Brand (and Your Career)
- 7 Consumer Technologies Coming to an Enterprise Near You
- 11 Signs Your IT Project is Doomed
- A walking tour: 33 questions to ask about your company's security
- 15 social media scams
- The 7 elements of a successful security awareness program
- IT Certification Study Tips
- Register for this Computerworld Insider Study Tip guide and gain access to hundreds of premium content articles, cheat sheets, product reviews and more.
- Harness IT -- An Introduction to Business Intelligence Solutions Learn the key selection criteria required to provide your organization with the capability to address structured data, unstructured data and mobile demands so...
- Business Intelligence Shows its Smarts Today's Business Intelligence (BI) tools provide a new way to think about data with self-service capabilities and user-friendly analytics that can be used...
- Proactive Planning for Big Data Big data is less about the terabytes and more about the query tools and business intelligence needed to make sense of massive amounts...
- Inquiry Spotlight: Consumer-Facing Identity The challenges of consumer-facing identity management, access management, and authentication differ in ways subtle and dramatic from those of the employee-facing variety.
- Becoming An Analytics Driven Organization Join us on Tuesday, June 18, 2013, 11:00 AM EDT and learn how your agency can create an analytics culture that will enable...
- 3 Reasons Why Sepaton is the World's Fastest Backup Solution Leading analyst, Storage Switzerland learns how Sepaton backs up and deduplicates massive data volumes while maintaining the industry's fastest performance - all in... All Encryption White Papers | Webcasts