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-4807
Published: 2014-11-22
Sterling Order Management in IBM Sterling Selling and Fulfillment Suite 9.3.0 before FP8 allows remote authenticated users to cause a denial of service (CPU consumption) via a '\0' character.

CVE-2014-6183
Published: 2014-11-22
IBM Security Network Protection 5.1 before 5.1.0.0 FP13, 5.1.1 before 5.1.1.0 FP8, 5.1.2 before 5.1.2.0 FP9, 5.1.2.1 before FP5, 5.2 before 5.2.0.0 FP5, and 5.3 before 5.3.0.0 FP1 on XGS devices allows remote authenticated users to execute arbitrary commands via unspecified vectors.

CVE-2014-8626
Published: 2014-11-22
Stack-based buffer overflow in the date_from_ISO8601 function in ext/xmlrpc/libxmlrpc/xmlrpc.c in PHP before 5.2.7 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code by including a timezone field in a date, leading to improper XML-RPC encoding...

CVE-2014-8710
Published: 2014-11-22
The decompress_sigcomp_message function in epan/sigcomp-udvm.c in the SigComp UDVM dissector in Wireshark 1.10.x before 1.10.11 allows remote attackers to cause a denial of service (buffer over-read and application crash) via a crafted packet.

CVE-2014-8711
Published: 2014-11-22
Multiple integer overflows in epan/dissectors/packet-amqp.c in the AMQP dissector in Wireshark 1.10.x before 1.10.11 and 1.12.x before 1.12.2 allow remote attackers to cause a denial of service (application crash) via a crafted amqp_0_10 PDU in a packet.

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?