Attacks/Breaches

9/25/2014
03:07 PM
50%
50%

'BERserk' Bug Uncovered In Mozilla NSS Crypto Library Impacts Firefox, Chrome

Attackers can exploit the bug to create forged RSA certificates -- it affects versions of Firefox, Thunderbird, Chrome, and SeaMonkey.

A newly discovered critical vulnerability in the Mozilla Network Security Services (NSS) cryptographic library can be abused to create forged RSA certificates.

Mozilla has released updates to fix the issue. According to the company, users on a compromised network could be directed to sites using a fraudulent certificate and mistake them for legitimate sites. This could be used by attackers to trick victims into revealing personal information (like usernames and passwords) or downloading malware.

"The Mozilla NSS library, commonly utilized in the Firefox web browser, can also be found in Thunderbird, Seamonkey, and other Mozilla products," Michael Fey, executive vice president, chief technology officer, and general manager of corporate products for McAfee, part of Intel Security, wrote in a blog post. "Dubbed 'BERserk,' this vulnerability allows for attackers to forge RSA signatures, thereby allowing for the bypass of authentication to websites utilizing SSL/TLS. Given that certificates can be forged for any domain, this issue raises serious concerns around integrity and confidentiality as we traverse what we perceive to be secure websites."

According to Fey, the attack exploits a vulnerability in the passing of ASN.1 encoded messages during signature verification. ASN.1 messages are made up of various parts that are encoded using Basic Encoding Rules (BER) and/or Distinguished Encoding Rules (DER). "This attack exploits the fact that the length of a field in BER encoding can be made to use many bytes of data. In vulnerable implementations, these bytes are then skipped during parsing. This condition enables the attack. This is a variation on the Bleichenbacher PKCS#1 RSA Signature Verification vulnerability of 2006."

Intel Security said it is unaware of any attacks exploiting the issue, which was also discovered and reported independently by the security researcher Antoine Delignat-Lavaud at Inria Paris at team Prosecco.

The following updates have been released for Mozilla client products: Firefox 32.0.3; Firefox for Android 32.0.3; Firefox for Android 31.1.; Firefox ESR 31.1.1; Firefox ESR 24.8.1; Thunderbird 31.1.2; Thunderbird 24.8.1; and SeaMonkey 2.29.1.

Updates are also available for beta and other development versions of these products, according to Mozilla, which advises projects using NSS 3.17 to update to the new 3.17.1 release. Google has already issued an update for Chrome.

The CERT Coordination Center at Carnegie Mellon University (CERT/CC) also released an advisory on the issue.

"This vulnerability is a variant of the Bleichenbacher vulnerability, where unvalidated bytes are allowed in the least significant bytes of the signature," according to CERT. "Mozilla NSS is used by other software products including a number of Linux distributions and packages, Google Chrome, and Google Chrome OS. It is also possible that other cryptographic libraries may have similar vulnerabilities."

"Upon discovery of this issue, the Intel Security ATR [Advanced Threat Research] team notified Mozilla to facilitate the mitigation and resolution of the vulnerability," said James Walter, director of advanced threat research of Intel Security. "We also engaged CERT/CC to ensure that all affected parties are responsibly and effectively notified and given mitigation guidance on this issue, and to review other commonly used cryptographic libraries for similar issues."

Brian Prince is a freelance writer for a number of IT security-focused publications. Prior to becoming a freelance reporter, he worked at eWEEK for five years covering not only security, but also a variety of other subjects in the tech industry. Before that, he worked as a ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
jackdenial
50%
50%
jackdenial,
User Rank: Apprentice
10/23/2018 | 1:12:13 AM
Re: Prior to Update
I totally agreed with your statement that attackers can steal personal information of authorized users like their usernames as well as passwords or downloading malware and BERserk vulnerability also allows attackers to forge RSA signatures. If anyone is facing any issue related to their Mozilla Firefox then I recommend contact with Firefox Support Number
RyanSepe
50%
50%
RyanSepe,
User Rank: Ninja
9/26/2014 | 9:15:02 AM
Prior to Update
I know these were updated by the browser providers but before that when being led to a false site, what were the inconsistencies between the true and the false site, if any?

Or malicious sites so well engineered that you couldn't tell?
Valentine's Emails Laced with Gandcrab Ransomware
Kelly Sheridan, Staff Editor, Dark Reading,  2/14/2019
High Stress Levels Impacting CISOs Physically, Mentally
Jai Vijayan, Freelance writer,  2/14/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
5 Emerging Cyber Threats to Watch for in 2019
Online attackers are constantly developing new, innovative ways to break into the enterprise. This Dark Reading Tech Digest gives an in-depth look at five emerging attack trends and exploits your security team should look out for, along with helpful recommendations on how you can prevent your organization from falling victim.
Flash Poll
How Enterprises Are Attacking the Cybersecurity Problem
How Enterprises Are Attacking the Cybersecurity Problem
Data breach fears and the need to comply with regulations such as GDPR are two major drivers increased spending on security products and technologies. But other factors are contributing to the trend as well. Find out more about how enterprises are attacking the cybersecurity problem by reading our report today.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-7399
PUBLISHED: 2019-02-17
Amazon Fire OS before 5.3.6.4 allows a man-in-the-middle attack against HTTP requests for "Terms of Use" and Privacy pages.
CVE-2019-8392
PUBLISHED: 2019-02-17
An issue was discovered on D-Link DIR-823G devices with firmware 1.02B03. There is incorrect access control allowing remote attackers to enable Guest Wi-Fi via the SetWLanRadioSettings HNAP API to the web service provided by /bin/goahead.
CVE-2019-8394
PUBLISHED: 2019-02-17
Zoho ManageEngine ServiceDesk Plus (SDP) before 10.0 build 10012 allows remote attackers to upload arbitrary files via login page customization.
CVE-2019-8395
PUBLISHED: 2019-02-17
An Insecure Direct Object Reference (IDOR) vulnerability exists in Zoho ManageEngine ServiceDesk Plus (SDP) before 10.0 build 10007 via an attachment to a request.
CVE-2019-8389
PUBLISHED: 2019-02-17
A file-read vulnerability was identified in the Wi-Fi transfer feature of Musicloud 1.6. By default, the application runs a transfer service on port 8080, accessible by everyone on the same Wi-Fi network. An attacker can send the POST parameters downfiles and cur-folder (with a crafted ../ payload) ...