Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Risk

8/2/2009
09:43 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Researcher Exposes Flaws In Certificate Authority Web Applications

SSL certificate validation process easy "to game," he says

DEFCON17 -- LAS VEGAS -- It's not just the Secure Sockets Layer (SSL) that contains major security flaws: A researcher here showed how several certificate authorities (CAs) themselves are vulnerable to attacks when issuing SSL certificates.

Michael Zusman, principal consultant with The Intrepidus Group, showed attendees at the DefCon17 hacker conference late last week how with a phony identity he was able to successfully score SSL certificates from multiple legitimate CAs, including StartCom, and THAWTE.

"It's easy to game CAs," said Zusman. He says that's because the automated certificate validation process used by most CAs to expedite the process for customers and lower overhead has actually simplified things for an attacker as well.

"CAs are just like any other ecommerce site. Why would someone want to hack them? They are storing personal and business information," Zusman says. "But CAs are not doing everything they need to be doing [to secure their Web applications]."

Zusman found weaknesses in how CAs handle domain validation, as well as typical Web application vulnerabilities, like cross-site scripting (XSS) and SQL injection on their sites, and information leakage problems. In one case, he was able to get signed, trusted SSL certificates for two of StrongWebMail's domains -- www.strongwebmail.com and mail.strongmail.com. (Zusman didn't disclose the name of the CA.)

SSL has been in the hot seat lately, with the spotlight during the past few months on newly exposed weaknesses in SSL, including researcher Moxie Marlinspike's demonstration at Black Hat last week on how he weaponized CSR to dupe a CA into giving him a valid certificate. In addition, Dan Kaminsky, director of penetration testing for IOActive, revealed weaknesses in X.509 authentication.

Zusman's work takes the SSL threat to yet another level: to the Web applications of the organizations that issue the certificates. "CAs need to be held accountable for their lack of security, especially since everyone is looking at SSL as a target now," Zusman said in his presentation at Defcon17. "If you can game a CA's validation mechanism, they don't get hurt -- they might even make some money. [Those] who suffer are those who use the Internet."

Meanwhile, Zusman is working on a way to protect users from rogue certificate attacks. He's writing a proof-of-concept client-side proxy tool for the browser that lets users decide which SSL certs they trust. "Essentially, it mimics the public key whitelisting behavior of an SSH client," he says. "If the user tries to connect to a Website where an attacker presents a rogue SSL certificate that is signed by a trusted CA, the tool will prompt the user that this certificate is not in the whitelist."

When the browser tries to connect to an SSL-secured site, the proxy checks its SSL certificate against a whitelist the user keeps stored locally. If it's not on the whitelist, the user gets prompted to either block the site or allow a connection.

At DefCon, Zusman demonstrated several attacks he had performed on CA apps. In one, he was able to bypass the validation process at StartCom and get signed certificates for some low-profile Websites. He tried the same for VeriSign and PayPal certificates, and got as far as bypassing the validation step, but the blacklist prevented him from actually getting certs for those high-profile sites. He also was able to glean and use information that leaked from THAWTE's login application.

When you apply for an SSL certificate, you typically get to choose an email alias to show you're authorized to that domain. "But email is not that secure," Zusman says. "And it's going out in plain text, with no encryption."

The irony, he says, is that you pay money for access to a private key, which is controlled by a CA's potentially insecure Web applications.

Earlier last week at Black Hat USA, Zusman and Alex Sotirov -- who in March first demonstrated possible man-in-the middle attacks on the more secure Extended Validation SSL certificate at CanSecWest -- released a proxy tool that can attack EV SSL session, even with the secure green badge displaying on the screen.

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 the Executive Editor of Dark Reading. 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
Comments
Newest First  |  Oldest First  |  Threaded View
For Cybersecurity to Be Proactive, Terrains Must Be Mapped
Craig Harber, Chief Technology Officer at Fidelis Cybersecurity,  10/8/2019
A Realistic Threat Model for the Masses
Lysa Myers, Security Researcher, ESET,  10/9/2019
USB Drive Security Still Lags
Dark Reading Staff 10/9/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
7 Threats & Disruptive Forces Changing the Face of Cybersecurity
This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
Flash Poll
2019 Online Malware and Threats
2019 Online Malware and Threats
As cyberattacks become more frequent and more sophisticated, enterprise security teams are under unprecedented pressure to respond. Is your organization ready?
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-17545
PUBLISHED: 2019-10-14
GDAL through 3.0.1 has a poolDestroy double free in OGRExpatRealloc in ogr/ogr_expat.cpp when the 10MB threshold is exceeded.
CVE-2019-17546
PUBLISHED: 2019-10-14
tif_getimage.c in LibTIFF through 4.0.10, as used in GDAL through 3.0.1 and other products, has an integer overflow that potentially causes a heap-based buffer overflow via a crafted RGBA image, related to a "Negative-size-param" condition.
CVE-2019-17547
PUBLISHED: 2019-10-14
In ImageMagick before 7.0.8-62, TraceBezier in MagickCore/draw.c has a use-after-free.
CVE-2019-17501
PUBLISHED: 2019-10-14
Centreon 19.04 allows attackers to execute arbitrary OS commands via the Command Line field of main.php?p=60807&type=4 (aka the Configuration > Commands > Discovery screen).
CVE-2019-17539
PUBLISHED: 2019-10-14
In FFmpeg before 4.2, avcodec_open2 in libavcodec/utils.c allows a NULL pointer dereference and possibly unspecified other impact when there is no valid close function pointer.