Feeds

UK.gov warns over VPN crypto flaw

Remote access snooping risk prompts yellow alert

  • alert
  • submit to reddit

Using blade systems to cut costs and sharpen efficiencies

Firms using IPsec VPNs for remote access could be vulnerable to hacker attack because of cryptographic weaknesses in key sub-protocols, a UK government UNIRAS alert warns.

The UK's National Infrastructure Security Coordination Centre (NISCC) describes weaknesses in the certain configurations of IPsec VPNs as "high risk". The issue is not product specific: instead it revolves around how systems are set up. Three attacks that apply to certain configurations of IPsec VPNs have been identified. These configurations use Encapsulating Security Payload (ESP)1 in tunnel mode with confidentiality only, or with integrity protection being provided by a higher layer protocol. Some configurations using Authentication Header (AH)2 to provide integrity protection are also vulnerable.

Attacks based on the cryptographic weaknesses of the sub-protocols involve modify sections of the IPsec packet to either redirect packets or generate error messages, in both cases exposing the clear text inner packet of supposedly encrypted communications. "If exploited, it is possible for an active attacker to obtain the plaintext version of the IPsec-protected communications using only moderate effort," NISCC warns.

It advises users to Configure ESP for use in both confidentiality and integrity protection in order to guard against possible exploitation. Other workarounds are explained in NISCC's detailed advisory here.

Roy Hills, technical director of security testing firm NTA Monitor, and an expert on VPN security, said the problem is unlikely to affect most users in practice but for some it poses a severe security risk.

"This looks like a real issue. However, it should only affect people who use ESP without integrity protection. Most people use ESP with both confidentiality (encryption) and integrity (HMAC), and so should not be affected. CESG guidelines for UK Government are to use either ESP plus AH or ESP with integrity, neither of which would be susceptible to this problem," he explained.

"Although it shouldn't affect many people, it will doubtless affect some, and these people probably won't realise that they are exposed because an insecure IPsec tunnel looks just like a secure IPsec tunnel to the user."

Hills has found similar types of security problems with VPN security in the field as explained in a white paper on the topic here. ®

1 ESP specifies how packets of data are encrypted to guard against snooping. The protocol can also be used to provide guarantees over confidentiality of data sent over VPNs. 2 AH attaches a cryptographic checksum to packets giving assurances that data has not been tampered with en-route between two points.

Related stories

IP VPN: compelling savings compelling performance?
IP VPN migration inevitable
SSL to be one of 2004 s bright spots

Boost IT visibility and business value

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
14 antivirus apps found to have security problems
Vendors just don't care, says researcher, after finding basic boo-boos in security software
How long is too long to wait for a security fix?
Synology finally patches OpenSSL bugs in Trevor's NAS
Israel's Iron Dome missile tech stolen by Chinese hackers
Corporate raiders Comment Crew fingered for attacks
Only '3% of web servers in top corps' fully fixed after Heartbleed snafu
Just slapping a patched OpenSSL on a machine ain't going to cut it, we're told
Roll out the welcome mat to hackers and crackers
Security chap pens guide to bug bounty programs that won't fail like Yahoo!'s
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Researcher sat on critical IE bugs for THREE YEARS
VUPEN waited for Pwn2Own cash while IE's sandbox leaked
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Securing Web Applications Made Simple and Scalable
Learn how automated security testing can provide a simple and scalable way to protect your web applications.