Chink in encryption armour discovered

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

Topics

OpenSSH

NEWS

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 2^{-18} (that is, one in 262,144) chance of success. ISG lead professor Kenny Paterson told ZDNet UK last Monday that the flaw was 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 re-transmitting 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 backwards 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 California to explain his group's research findings. The three ISG academics involved in the research were Paterson, Martin Albrecht and Gaven Watson.

Read this

Comment: Time lawyers got to grips with encryption

Encryption is playing an increasingly important role, but in law its status is poorly defined. It's time that changed, says Jeremy Phillips

Read more +

This vulnerability was first made public in November 2008 by the UK Centre for the Protection of National Infrastructure (CPNI), although 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 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 sysadmins to apply patches to servers and clients, no matter whether the software is open source or proprietary.

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

archerthom

Sounds like only those who have bought their Kindle from Waterstones will be able to use them in-store - very disappointing. I have no intention...

9 minutes ago by archerthom on Waterstones to sell Kindles with in-store offers
AndyPagin

From my mainframe operating days... 1) Play hoopla with write permit rings & a can of screen cleaner. 2) Make enormous paper chains (Christmas...

47 minutes ago by AndyPagin on Ten IT jobs to save up for those rare lulls
61253

An OS X perspective Filenames beginning with a dot/period (.) should not be equated with HFS Plus resource forks; misunderstandings around ._ (dot...

1 hour ago by 61253 on SharePoint deployment: Pitfalls of a pioneer
ians1

There are many legal download sites for music at least that do not charge an arm and a leg like itunes or Napster. The "real" cost of an mp3 file...

2 hours ago by ians1 on The Pirate Bay infringes copyright, High Court decides
Jon Howells

@Crupal.. How does refusing your websites cookies help my privacy? A quick look at your page script reveals four sets of code provided by 3rd...

9 hours ago by Jon Howells via Facebook on Privacy watchdog to chase big companies over cookie law
Paul Carloss

There are hundreds, if not thousands of filesharing torrent sites, The Pirate Bay (TPB) is only one of them, while the TPB is blocked many more...

10 hours ago by Paul Carloss via Facebook on The Pirate Bay infringes copyright, High Court decides
Rebin Simpson

So could users DownGrade if the new OS didn't worked correctly ?

13 hours ago by Rebin Simpson on Sony delivers on Xperia Ice Cream Sandwich promise
duncanjmurray

Hmmm, I thought that with SSDs you could get to the mythical ubuntu 10 sec boot time? Is this not the case?

13 hours ago by duncanjmurray on Netbook Upgrade - SSD IN, Windows OUT
JoshArg

Thanks once again! I have installed Linux Mint 13 (Maya) everything runs well but.. bluetooh is not present, "there is no blueetooth adapter" do...

14 hours ago by JoshArg on Samsung N150 Plus Netbook - Ubuntu Netbook Edition 10.04
zdnetukuser

@JAW-- There’s a better-than-even chance that, had you made another choice of SSD, you would have noticed no improvement in battery life...

1 day ago by zdnetukuser on Netbook Upgrade - SSD IN, Windows OUT
Amb Rose

Please stop connecting the 'ATeam' to the UK Anonymous collective. Anonymous and the ATeam are not connected. The ATeam are not part of, affiliated...

2 days ago by Amb Rose via Facebook on UK Anonymous keeps up DDoS barrage on ICO
cpupal

Hi All I have looked into the cookie law today, there are a few solutions that these websites can use. Just add the widget and update your policy...

2 days ago by cpupal on Privacy watchdog to chase big companies over cookie law
dropz42

I read that many of the governments own websites are not yet compliant...shouldn't they sort that out before chasing others - slightly hypocritical !

2 days ago by dropz42 on Privacy watchdog to chase big companies over cookie law
Charles McLellan

@larrylisser Thanks for the feedback; you're quite right to surmise that the article's main point was to inform about developments in cloud-based...

2 days ago by Charles McLellan on VideoMeet: cloud-based video communication
J.A. Watson

@zdnetukuser - Thanks for pointing this out. I must admit that the relative power consumption of different manufacturers and models was something...

2 days ago by J.A. Watson on Netbook Upgrade - SSD IN, Windows OUT
J.A. Watson

@stevoparsons - You are absolutely right, I do expect a new system that is being connected to the Internet for the first time to pick up updates....

2 days ago by J.A. Watson on Windows Update Never Stops Sucking
zdnetukuser

@JAW-- Ya done good, boy. After two years of sifting and filtering data, it seems that the two lowest-power-consumption SSDs on the market are...

2 days ago by zdnetukuser on Netbook Upgrade - SSD IN, Windows OUT
stevoparsons

what else would you expect from turning on a machine for the first time; and at it has never been connected to the internet, and is loaded with an...

2 days ago by stevoparsons on Windows Update Never Stops Sucking
J.A. Watson

@JoshArg - Yes, you can erase the entire disk without worrying about messing up anything. In fact it can be even easier than that - your idea of...

3 days ago by J.A. Watson on Samsung N150 Plus Netbook - Ubuntu Netbook Edition 10.04
larrylisser

Having been around video for years now - and around companies that have innovated in efforts to push the industry forward - it's great to see...

3 days ago by larrylisser on VideoMeet: cloud-based video communication