• On GameSpot: So-called 'Halo killer' gets 23 to life
May 19, 2009 10:05 AM PDT

Flaw in encryption armor discovered

by Tom Espiner
  • Font size
  • Print
  • 4 comments

Correction at 5:50 a.m. PDT May 20: The spelling of Kenny Paterson's last name has been corrected.

An underlying flaw in the widely used encryption protocol Open Secure Shell (OpenSSH) has been made public by researchers from the Royal Holloway, University of London.

The flaw, which lies in version 4.7 of OpenSSH on Debian/GNU Linux, allows 32 bits of encrypted text to be rendered in plaintext, according to a research team from the Royal Holloway Information Security Group (ISG).

An attacker has a one in 262,144 chance of success. ISG lead professor Kenny Paterson told CNET News sister site ZDNet UK last Monday that the flaw is more significant than previous vulnerabilities in OpenSSH.

"This is a design flaw in OpenSSH," said Paterson. "The other vulnerabilities have been more about coding errors."

According to Paterson, a man-in-the-middle attacker could sit on a network and grab blocks of encrypted text as they are sent from client to server. By retransmitting the blocks to the server, an attacker can work out the first four bytes of corresponding plaintext. The attacker can do this by counting how many bytes the attacker sends until the server generates an error message and tears down the connection, then working backward to deduce what was in the OpenSSH encryption field before encryption.

The attack relies on flaws in the RFC (Request for Comments) Internet standards that define SSH, said Paterson.

Paterson gave a talk on Monday at the IEEE Symposium on Security and Privacy in Oakland, Calif., to explain his group's research findings. The three ISG academics involved in the research were Paterson, Martin Albrecht, and Gaven Watson.

This vulnerability was first made public in November 2008 by the UK Centre for the Protection of National Infrastructure (CPNI), though full details of the flaw were not then given. According to the CPNI advisory, the OpenSSH flaw could be mitigated by IT professionals using AES (advanced encryption standard) in counter mode (CTR) to encrypt, instead of cipher-block chaining mode (CBC).

Paterson said his group had worked with OpenSSH developers to mitigate the flaw, and that OpenSSH version 5.2 contained countermeasures.

"They've fixed (OpenSSH); they've put countermeasures in place to stop our attack," said Paterson. "But the standard has not changed."

Paterson said that he did not believe this flaw had been exploited in the wild, and that to deduce a message of appreciable length could take days. In addition, proprietary SSH vendors had been informed of the issue in advance, and had put countermeasures in their code. However, Paterson added that it always takes time for system administrators to apply patches to servers and clients, no matter whether the software is open source or proprietary.

Tom Espiner of ZDNet UK reported from London.

advertisement
Click Here
Recent posts from Security
Microsoft actively urges IE 6 users to upgrade
Microsoft investigating 'black screen of death'
Pub fined $13k for Wi-Fi copyright infringement
Tips for safe online shopping
Big changes in Security Starter Kit 2010
Confidential 9/11 pager messages disclosed
Microsoft warns of IE exploit code in the wild
Chrome OS security: 'Sandboxing' and auto updates
Add a Comment (Log in or register) (4 Comments)
  • prev
  • 1
  • next
by twburger May 19, 2009 11:48 AM PDT
I use OpenSSH. I'm glad it is version 5.2 and used AES. This shows that physical security is still the most important.
Reply to this comment
by pjk0 May 19, 2009 11:59 AM PDT
Just to nitpick: "OpenSSH" is an implementation of the SSH protocol. It is not "the" protocol. The tagline should say flaw discovered in "SSH protocol", not "OpenSSH protocol". OpenSSH is just the most widely-used implementation.

Re: patches, what bothers me is that there are various devices that are not so easily patched, ie various sorts of network equipment that have SSH functionality in an OS embedded in firmware, that might not be so easily updated.

"Days" to successfully break a security barrier is nothing if an attacker really wants something from the attacked entity. Most encryption protocols are considered insecure if a brute-force attack takes anything less than many years to succeed, using hardware available on the consumer market.
Reply to this comment
by Jed_Smith May 19, 2009 12:27 PM PDT
Wait a second.

You're digging up a vulnerability that was discovered six months ago, dealt with six months ago, and then classifying it as a vulnerability in the "OpenSSH Protocol"? OpenSSH is an implementation, not a protocol. How is this story possibly helpful?

I got pointed to your article by a manager who wanted to make sure our "OpenSSH Protocol" was secure. Thanks again, CNET, for causing FUD in mid-level bureaucrats.
Reply to this comment
by RobertAPierce May 19, 2009 1:49 PM PDT
What a poorly researched article, apparently written by someone who doesn't really undertand the subject matter.
Reply to this comment
(4 Comments)
  • prev
  • 1
  • next

S.F. hacker space: Heaven for the DIY set?

The Noisebridge hacker space offers sewing and Mandarin classes, soldering workshops, Internet-controlled front door access, and a server room with no door.
• Photos: Circuits, code, community

The browser battles go on and on

roundup From Firefox to IE and from Chrome to Opera and Safari, there's no sitting still for browser makers looking to keep their products fresh and competitive.

About Security

Online security is threatened by more than hacking and phishing attempts. Check here for the latest updates on software vulnerabilities, data leaks, and rapidly spreading viruses--and learn how to protect your systems.

Add this feed to your online news reader

Security topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right