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.


09:40 AM
Connect Directly

Crypto Flaw Prone to Spoofing

Newly discovered flaw in OpenSSL leaves some RSA cryptography implementations vulnerable

A new flaw in how some developers implement RSA cryptography has left OpenSSL and other applications vulnerable to attackers forging digital signatures and spoofing Websites as well as SSL clients.

OpenSSL, one of the most popular open cryptography toolkits, was the first to report the flaw in its RSA cryptography implementation, along with Fedora, which uses OpenSSL in Fedora Core 5 Linux, but security researchers say there will likely be more disclosures soon from other open source as well as commercial software vendors. The flaw was originally discovered by Bell Labs researcher Daniel Bleichenbacher.

"It's particularly worrisome to think that some hardware-accelerated appliances may be hardwired into being vulnerable to the attack" as well, says Thomas Ptacek, a researcher with Matasano Security.

The good news on the browser side, researchers say, is that Internet Explorer, Apple Safari, and Mozilla Firefox browsers are apparently unaffected by the flaw. Still, Window Snyder, the new head of Mozilla security operations, says the publicized flaw has prompted the company to take a closer look at its own code as a precaution. "We take this very seriously," says Snyder, whose working title at Mozilla is "chief security something." "We're investigating our code base."

But it's the impact on enterprises that use SSL certs for client authentication that worries researchers most. "The enterprise implications are perhaps worse than the browser implications," says Ptacek, a researcher with Matasano Security. "Many enterprise applications rely on SSL client certificates to authenticate, and SSL VPNs are an enterprise mainstay."

Internal financial networks, for example, are vulnerable to this type of attack, says Nate Lawson, a researcher with Cryptography Research. General Internet users are not, he says.

Researchers are still studying details of the flaw and its potential implications, but the immediate concern is an attacker could fake SSL certificates for a Website and set up a spoofed site. "I believe this vulnerability means that criminals can generate fake SSL certificates for any site on the Internet, load them into a Web server in Bulgaria, and trick some browsers into believing it," Ptacek says.

"This is different from a typical, super-technical attack because it can be executed 'off line' -- someone can set up shop generating phony certificates and selling them like stolen car stereos," he says. "All it takes to use them is knowing how to configure a Web server."

"If you have SSL certs on the client side you're checking for on the server, you have a problem," says Dan Kaminsky, an independent researcher. "The problem is limited to this and possibly other customer applications used building OpenSSL."

Kaminsky says it's like having a photo ID with a hologram on it that authenticates the photo and the person. "The bug [instead] sticks the photo on the back of the ID card and then the system sees the photo is 'right,' so it thinks it's you, but the hologram and photo have been disconnected," he says. The attacker basically does this with the digital signature and can pretend to be anyone.

But several elements have to be in place for such an attack, he says, so it's not necessarily high risk at this point. An attacker would need the bug, and the software would have to be using an implementation of the RSA code that uses what's called an "exponent of three," he says. "It's not an attack that you'd go out and do against everyone," he says. "What's devastating about it is you could take a cert from anyone you want."

Ptacek maintains that these elements are typically in place for this type of attack. "A combination of things has to go wrong for attackers to be able to use this to fake signatures and bypass TLS authentication, but that combination of things occurs regularly."

David Maynor, a senior researcher with SecureWorks, says cracking algorithms has been popular academically, especially for government agencies, and these types of attack scenarios are now being shown more commercially by researchers. "Now you're seeing more people cracking algorithms or evaluating them for how sound they are," he says, such as previous MD5 and SHA1 vulnerabilities.

Maynor says launching this type of attack wouldn't be so simple, however. "It works for just a certain subset of keys, and you'd have to find a site with the vulnerability of this type of key."

The bottom line: There's no margin of error in cryptography, says researcher Kaminsky. "You can't play fast and loose with the way standards are written," he says. If something can be inserted into a cryptographic algorithm, "bad things happen."

— Kelly Jackson Higgins, Senior Editor, Dark Reading

  • Matasano Security LLC
  • Mozilla
  • RSA Security Inc. (Nasdaq: EMC)
  • SecureWorks Inc. 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
    Inside the Ransomware Campaigns Targeting Exchange Servers
    Kelly Sheridan, Staff Editor, Dark Reading,  4/2/2021
    Beyond MITRE ATT&CK: The Case for a New Cyber Kill Chain
    Rik Turner, Principal Analyst, Infrastructure Solutions, Omdia,  3/30/2021
    Register for Dark Reading Newsletters
    White Papers
    Current Issue
    2021 Top Enterprise IT Trends
    We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
    Flash Poll
    How Enterprises are Developing Secure Applications
    How Enterprises are Developing Secure Applications
    Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    PUBLISHED: 2021-04-15
    Exposure of Sensitive Information in the web interface in McAfee Advanced Threat Defense (ATD) prior to 4.12.2 allows remote authenticated users to view sensitive unencrypted information via a carefully crafted HTTP request parameter. The risk is partially mitigated if your ATD instances are deploye...
    PUBLISHED: 2021-04-15
    Cleartext Transmission of Sensitive Information between McAfee Endpoint Security (ENS) for Windows prior to 10.7.0 February 2021 Update and McAfee Global Threat Intelligence (GTI) servers using DNS allows a remote attacker to view the requests from ENS and responses from GTI over DNS. By gaining con...
    PUBLISHED: 2021-04-15
    Cleartext Transmission of Sensitive Information vulnerability in the ePO Extension of McAfee Content Security Reporter (CSR) prior to 2.8.0 allows an ePO administrator to view the unencrypted password of the McAfee Web Gateway (MWG) or the password of the McAfee Web Gateway Cloud Server (MWGCS) read...
    PUBLISHED: 2021-04-15
    Denial of Service vulnerability in McAfee Data Loss Prevention (DLP) Endpoint for Windows prior to 11.6.100 allows a local, low privileged, attacker to cause a BSoD through suspending a process, modifying the processes memory and restarting it. This is triggered by the hdlphook driver reading invali...
    PUBLISHED: 2021-04-15
    Privilege Escalation vulnerability in McAfee Data Loss Prevention (DLP) Endpoint for Windows prior to 11.6.100 allows a local, low privileged, attacker to write to arbitrary controlled kernel addresses. This is achieved by launching applications, suspending them, modifying the memory and restarting ...