CybersecurityCryptographic attack shows importance of bug-free software

Published 1 March 2012

Researchers have developed an attack that can circumvent the security OpenSSL should provide; the attack worked on a very specific version of the OpenSSL software, and only when a specific set of options were used

A padlocked icon in a Web-browser or a URL starting with https provides communication security over the Internet.  The icon or URL indicates OpenSSL, a cryptography toolkit implementing the SSL protocol, or a similar system is being used.  New research by a collaborative team has developed an attack that can circumvent the security OpenSSL should provide.  The attack worked on a very specific version of the OpenSSL software, 0.9.8g, and only when a specific set of options were used.

A University of Bristol release reports that Dr. Dan Page, senior lecturer in computer science in the Department of Computer Science at the University of Bristol, and one of the collaborative team, presented a paper at the RSA® Conference in San Francisco today yesterday about the EPSRC-funded research.

The attack worked by targeting a bug in the software.  Carefully constructed messages were sent to the Web-server, each of which triggered the bug and allowed part of a cryptographic key to be recovered.  Using enough messages, the entire key could be recovered.

Dr. Page said: “Our work suggests an underlying problem.  With software and hardware playing increasingly significant roles in our day-to-day life, how much can and should we trust them to be correct? The answer, in part at least, is a stronger emphasis on and investment in formal verification and correctness of open source software.  Our research highlights the important role this topic will play for software engineers of the future.”

SSL is designed to provide two guarantees.  Firstly, that a Web-server accessed is the one expected, and, secondly, that subsequent communication between the user and the web-server cannot be read by anyone else.

Both guarantees are important for e-commerce websites that need to manage sensitive data such as credit card details in a secure, dependable way. Both, however, depend on the Web-server keeping various cryptographic keys secret.

OpenSSL is embedded in many platforms, particularly those based on the Linux operating system. 

Some operating system vendors have started to  release advisories that prompt the upgrade of older versions of OpenSSL.  This acts to limit any implications of an attack.

— Read more in B. B. Brumley et al., “Practical realization and elimination of an ECC-related software bug attack?CryptologyePrint archive: report 2011/633