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.

Attacks/Breaches

9/11/2006
09:40 AM
Connect Directly
Twitter
RSS
E-Mail
50%
50%

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
    Commentary
    How SolarWinds Busted Up Our Assumptions About Code Signing
    Dr. Jethro Beekman, Technical Director,  3/3/2021
    News
    'ObliqueRAT' Now Hides Behind Images on Compromised Websites
    Jai Vijayan, Contributing Writer,  3/2/2021
    News
    Attackers Turn Struggling Software Projects Into Trojan Horses
    Robert Lemos, Contributing Writer,  2/26/2021
    Register for Dark Reading Newsletters
    White Papers
    Video
    Cartoon Contest
    Write a Caption, Win an Amazon Gift Card! Click Here
    Latest Comment: This comment is waiting for review by our moderators.
    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
    CVE-2021-21360
    PUBLISHED: 2021-03-09
    Products.GenericSetup is a mini-framework for expressing the configured state of a Zope Site as a set of filesystem artifacts. In Products.GenericSetup before version 2.1.1 there is an information disclosure vulnerability - anonymous visitors may view log and snapshot files generated by the Generic ...
    CVE-2021-21361
    PUBLISHED: 2021-03-09
    The `com.bmuschko:gradle-vagrant-plugin` Gradle plugin contains an information disclosure vulnerability due to the logging of the system environment variables. When this Gradle plugin is executed in public CI/CD, this can lead to sensitive credentials being exposed to malicious actors. This is fixed...
    CVE-2021-24033
    PUBLISHED: 2021-03-09
    react-dev-utils prior to v11.0.4 exposes a function, getProcessForPort, where an input argument is concatenated into a command string to be executed. This function is typically used from react-scripts (in Create React App projects), where the usage is safe. Only when this function is manually invoke...
    CVE-2021-21510
    PUBLISHED: 2021-03-08
    Dell iDRAC8 versions prior to 2.75.100.75 contain a host header injection vulnerability. A remote unauthenticated attacker may potentially exploit this vulnerability by injecting arbitrary ‘Host’ header values to poison a web-cache or trigger redirections.
    CVE-2020-27575
    PUBLISHED: 2021-03-08
    Maxum Rumpus 8.2.13 and 8.2.14 is affected by a command injection vulnerability. The web administration contains functionality in which administrators are able to manage users. The edit users form contains a parameter vulnerable to command injection due to insufficient validation.