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

The smart choice: opportunity from uncertainty

More from The Register

next story
NEW, SINISTER web tracking tech fingerprints your computer by making it draw
Have you been on YouPorn lately, perhaps? White House website?
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
LibreSSL RNG bug fix: What's all the forking fuss about, ask devs
Blow to bit-spitter 'tis but a flesh wound, claim team
Black Hat anti-Tor talk smashed by lawyers' wrecking ball
Unmasking hidden users is too hot for Carnegie-Mellon
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
Don't look, Snowden: Security biz chases Tails with zero-day flaws alert
Exodus vows not to sell secrets of whistleblower's favorite OS
Own a Cisco modem or wireless gateway? It might be owned by someone else, too
Remote code exec in HTTP server hands kit to bad guys
prev story

Whitepapers

Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
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.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.