TOR finds intercept flaw in deep packet inspection devices

Not another Diginotar or Comodo SSL trust incident, or Trustwave's but a flaw nonetheless.

A certificate handling flaw in Cyberoam’s deep packet inspection (DPI) devices allow traffic from a single ‘victim’ to be intercepted by any DPI device from the vendor, according to the Tor Project.

The vulnerability stems from Cyberoam DPI devices sharing the same Certificate Authority (CA) certificate and therefore the same private key used to decrypt Secure Sockets Layer (SSL) encrypted traffic.

In a security advisory explaining the flaw, Tor Project developer Runa Sandvik and Google researcher Ben Laurie divide ‘victim’ scenarios into the “willing” —where a corporate environment willingly installs a certificate on devices that is untrusted by browsers in order to monitor traffic—and those where a CA, such as Cyberoam, could potentially be tricked into issuing a fraudulent certificate.

Cyberoam has not been tricked into issuing a fraudulent certificate and is using the untrusted certificate in a legitimate way for the “willing” victim scenario, however, Sandvik and Laurie said it was "surprising" all Cyberoam DPI devices use the same certificate.

“Examination of a certificate chain generated by a Cyberoam DPI device shows that all such devices share the same CA certificate and hence the same private key,” the pair wrote.

“It is therefore possible to intercept traffic from any victim of a Cyberoam device with any other Cyberoam device—or to extract the key from the device and import it into other DPI devices, and use those for interception. Perhaps ones from more competent vendors.”

The pair discovered the flaw after a user in Jordan reported seeing a fake certificate issued by Cyberoam for the torproject.org and initially thought Cyberoam had like Comodo and DigiNotar been tricked into issuing a fake certificate for torproject.org.

They also ruled out Cyberoam relying on an intermediate CA to generate new certificates “on the fly” similar to the way Trustwave had proposed and later abandoned after the Mozilla community considered removing trust for its root CA certificate.

The user had seen a fake certificate, according to Sandvik and Laurie, and his connection was also being intercepted by one of Cyberoam’s DPI devices, meaning that in theory his traffic could have been intercepted by any Cyberoam device.

The pair advised Cyberoam of the flaw on June 30 and informed the company at the time that they would publish details of the flaw on July 3.

They note that Cyberoam’s CA certificate is not trusted by browsers, which should mean that an alert will appear unless the certificate has been installed.

Follow @CSO_Australia and sign up to the CSO Australia newsletter.

Comments

sravaniroy

1

Comodo secure SSL Certificate service contains HTTPS certificate.

Comments are now closed.
CSO Corporate Partners
  • Webroot
  • Trend Micro
  • NetIQ
rhs_login_lockGet exclusive access to CSO, invitation only events, reports & analysis.
CSO Directory

SECURE Email Gateway

Clearswift SECURE Email Gateway is an effective and resilient email gateway for 50 to 50,000 users.

Security Awareness Tip

Incident handling is a vast topic, but here are a few tips for you to consider in your incident response. I hope you never have to use them, but the odds are at some point you will and I hope being ready saves you pain (or your job!).


  1. Have an incident response plan.

  2. Pre-define your incident response team 

  3. Define your approach: watch and learn or contain and recover.

  4. Pre-distribute call cards.

  5. Forensic and incident response data capture.

  6. Get your users on-side.

  7. Know how to report crimes and engage law enforcement. 

  8. Practice makes perfect.

For the full breakdown on this article

Security ABC Guides

Warning: Tips for secure mobile holiday shopping

I’m dating myself, but I remember when holiday shopping involved pouring through ads in the Sunday paper, placing actual phone calls from tethered land lines to research product stock and availability, and actually driving places to pick things up. Now, holiday shoppers can do all of that from a smartphone or tablet in a few seconds, but there are some security pitfalls to be aware of.