Vulnerabilities / Threats
7/30/2009
01:17 AM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Black Hat: PKI Hack Demonstrates Flaws in Digital Certificate Technology

Researcher Dan Kaminsky illuminates flaws in X.509 authentication

BLACK HAT USA -- LAS VEGAS -- The spotlight here this week was on another potentially broken piece of the Internet infrastructure as renowned white-hat hacker Dan Kaminsky today revealed critical bugs in the X.509 authentication scheme.

Kaminsky, who rocked the security community last year with his major DNS flaw find, said the potential for an X.509 meltdown and major hack is high, but not likely possible for at least another six months. "You can wait for it to blow up, or do something about it," says Kaminsky, director of penetration testing for IOActive. "This time, I don't want to see anything get 'owned.'"

Ironically, Kaminsky himself today was recovering from a targeted attack on his Website, email and Twitter accounts by a group of black hat hackers who stole passwords, emails, instant message chats from Kaminsky and former hacker Kevin Mitnick, and posted the information online. Kaminsky dismissed the attack "as nothing technically interesting" and likely began with a Web-borne exploit, he says.

Around 60 percent of attacks are due to weak or default passwords. "X.509 was supposed to be the solution" in authentication, Kaminsky says. "Businesses have spent hundreds of millions of dollars of investment in it. But there are things wrong structurally and technically with X.509." X.509 doesn't scale well, he says, and it can't delegate authority to issue certificates, for instance.

He noted that one of VeriSign's core root servers until recently used the older and weaker MD2 hash algorithm to sign certificates. "If a certificate is signed with MD2, it can accept everything," he says.

VeriSign no longer uses MD2 to sign any of its digital certificates, says Tim Callan, vice president of product marketing at VeriSign. "Last year, VeriSign implemented a process for transitioning off MD2 and, as of May 17th, the transition to the SHA-1 algorithm has been completed," he says.

Even so, browsers today still come with legacy [MD2] root certificates, Kaminsky says. "VeriSign's fix is to give new browsers something to ship. Microsoft, et al, are about making the old browsers ignore MD2 even if it is there. Both paths are helpful," he says.

Meanwhile, Kaminsky pointed to the work of another researcher who presented at Black Hat, Moxie Marlinspike, who demonstrated an attack that spoofs SSL certificates by adding a "null" string character to the certificate fields to fake out the browser. Moxie also added this null-termination attack to an existing hacking tool he developed.

"This is a wonderful example of what I'm talking about," Kaminsky says. "Moxie and I have the same core attack here -- he did this year what I did last year. We both went for the null" string attack, he says. Moxie was able to force a Firefox browser to download a code "update" over SSL with his phony digital certificate, Kaminsky says.

VeriSign's Callan says none of VeriSign's certificate brands or sub-bands have a domain containing a null character. "Marlinspike's presentation underscores the importance of such stringent issuance practices by CAs to ensure the integrity of online security," Callan says.

Ultimately, the answer is to move to DNSSEC, Kaminsky says. "We're going to have the DNS root signed [by DNSSEC] by the end of the year, so then we can build a new PKI with exclusion and delegation" capabilities, he says.

"Today, Dan Kaminsky revealed more important research that will surely serve to raise awareness on the need for ongoing enhancements to Internet infrastructure standards," VeriSign's Callan says.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message. Kelly Jackson Higgins is Executive Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading December Tech Digest
Experts weigh in on the pros and cons of end-user security training.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-2037
Published: 2014-11-26
Openswan 2.6.40 allows remote attackers to cause a denial of service (NULL pointer dereference and IKE daemon restart) via IKEv2 packets that lack expected payloads. NOTE: this vulnerability exists because of an incomplete fix for CVE 2013-6466.

CVE-2014-6609
Published: 2014-11-26
The res_pjsip_pubsub module in Asterisk Open Source 12.x before 12.5.1 allows remote authenticated users to cause a denial of service (crash) via crafted headers in a SIP SUBSCRIBE request for an event package.

CVE-2014-6610
Published: 2014-11-26
Asterisk Open Source 11.x before 11.12.1 and 12.x before 12.5.1 and Certified Asterisk 11.6 before 11.6-cert6, when using the res_fax_spandsp module, allows remote authenticated users to cause a denial of service (crash) via an out of call message, which is not properly handled in the ReceiveFax dia...

CVE-2014-7141
Published: 2014-11-26
The pinger in Squid 3.x before 3.4.8 allows remote attackers to obtain sensitive information or cause a denial of service (out-of-bounds read and crash) via a crafted type in an (1) ICMP or (2) ICMP6 packet.

CVE-2014-7142
Published: 2014-11-26
The pinger in Squid 3.x before 3.4.8 allows remote attackers to obtain sensitive information or cause a denial of service (crash) via a crafted (1) ICMP or (2) ICMP6 packet size.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Now that the holiday season is about to begin both online and in stores, will this be yet another season of nonstop gifting to cybercriminals?