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/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?
Mobile Banking Malware Up 50% in First Half of 2019
Kelly Sheridan, Staff Editor, Dark Reading,  1/17/2020
Active Directory Needs an Update: Here's Why
Raz Rafaeli, CEO and Co-Founder at Secret Double Octopus,  1/16/2020
New Attack Campaigns Suggest Emotet Threat Is Far From Over
Jai Vijayan, Contributing Writer,  1/16/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
The Year in Security: 2019
This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
Flash Poll
How Enterprises are Attacking the Cybersecurity Problem
How Enterprises are Attacking the Cybersecurity Problem
Organizations have invested in a sweeping array of security technologies to address challenges associated with the growing number of cybersecurity attacks. However, the complexity involved in managing these technologies is emerging as a major problem. Read this report to find out what your peers biggest security challenges are and the technologies they are using to address them.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-5216
PUBLISHED: 2020-01-23
In Secure Headers (RubyGem secure_headers), a directive injection vulnerability is present in versions before 3.9.0, 5.2.0, and 6.3.0. If user-supplied input was passed into append/override_content_security_policy_directives, a newline could be injected leading to limited header injection. Upon seei...
CVE-2020-5217
PUBLISHED: 2020-01-23
In Secure Headers (RubyGem secure_headers), a directive injection vulnerability is present in versions before 3.8.0, 5.1.0, and 6.2.0. If user-supplied input was passed into append/override_content_security_policy_directives, a semicolon could be injected leading to directive injection. This could b...
CVE-2020-5223
PUBLISHED: 2020-01-23
In PrivateBin versions 1.2.0 before 1.2.2, and 1.3.0 before 1.3.2, a persistent XSS attack is possible. Under certain conditions, a user provided attachment file name can inject HTML leading to a persistent Cross-site scripting (XSS) vulnerability. The vulnerability has been fixed in PrivateBin v1.3...
CVE-2019-20399
PUBLISHED: 2020-01-23
A timing vulnerability in the Scalar::check_overflow function in Parity libsecp256k1-rs before 0.3.1 potentially allows an attacker to leak information via a side-channel attack.
CVE-2020-7915
PUBLISHED: 2020-01-22
An issue was discovered on Eaton 5P 850 devices. The Ubicacion SAI field allows XSS attacks by an administrator.