By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Security Parrot - Cyber Security News, Insights and ReviewsSecurity Parrot - Cyber Security News, Insights and Reviews
Notification
Latest News
OpenAI may use Associated Press archive for AI training
July 14, 2023
EU users can hold conversations with Google Bard from training set
July 14, 2023
Aptos, the new default font for Microsoft Office
July 14, 2023
BlackLotus UEFI bootkit sources published on GitHub
July 14, 2023
Hackers from the XDSpy cyber-espionage group attacked Russian organizations on behalf of the Ministry of Emergency Situations
July 14, 2023
Aa
  • News
  • Tutorials
  • Security InsiderComing Soon
  • Expert InsightComing Soon
Reading: Authentication Bypass Vulnerability Discovered in Bouncy Castle Crypto Library
Share
Security Parrot - Cyber Security News, Insights and ReviewsSecurity Parrot - Cyber Security News, Insights and Reviews
Aa
Search
  • News
  • Tutorials
  • Security InsiderComing Soon
  • Expert InsightComing Soon
Follow US
Security Parrot - Cyber Security News, Insights and Reviews > News > Authentication Bypass Vulnerability Discovered in Bouncy Castle Crypto Library
auth-bypass
News

Authentication Bypass Vulnerability Discovered in Bouncy Castle Crypto Library

Last updated: 2020/12/18 at 8:49 AM
Jim Koohyar Biniyaz Published December 18, 2020
Share
auth-bypass
SHARE

A dangerous vulnerability (CVE-2020-28052) bypass authentication has been found in the popular open source crypto library Bouncy Castle. Its exploitation allows an attacker to gain access to user or administrator accounts.

According to security researchers Matti Varanka and Tero Rontti of Synopsys, the problem is in the Bouncy Castle OpenBSDBcrypt class, which implements the Bcrypt password hashing algorithm. That is, the Bcrypt.doCheckPassword () function, which is responsible for byte-wise matching of the password hash, has incorrect logic.

“The code checks the character index from 0 to 59, inclusive, and does not match the characters in positions 0 to 59. Passwords with hashes containing no bytes between 0x00 and 0x3B match any other password hash that does not contain them. Passing this check means that the attacker does not need to match the bytes with the stored hash value, ”the experts explained.

Successful exploitation of the vulnerability allows bouncing the password for any user account, including the administrator account, if Bouncy Castle is used in hash-based application password verification. Although it will take a very long time to crack strong passwords through a brute-force attack, an implementation issue causes an error in the verification procedure, allowing this process to continue.

According to experts, 20% of tested passwords can be cracked in the first thousand attempts as a result of exploiting this vulnerability. The issue affects Bouncy Castle versions 1.65 and 1.66. The specialists reported their findings to the Bouncy Castle developers, and the problem was fixed in versions 1.67 and higher.

Bouncy Castle is a software library that introduces a wide range of cryptography functionality. The library includes both the implementation of a large number of cryptographic functions and support for standard high-level cryptographic APIs of the respective platforms, and also contains low-level proprietary APIs for more flexible and efficient access to functionality.

Weekly Updates For Our Loyal Readers!

Jim Koohyar Biniyaz December 18, 2020
Share this Article
Facebook Twitter Email Copy Link Print

Archives

  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

You Might Also Like

News

OpenAI may use Associated Press archive for AI training

July 14, 2023
News

EU users can hold conversations with Google Bard from training set

July 14, 2023
News

Aptos, the new default font for Microsoft Office

July 14, 2023
News

BlackLotus UEFI bootkit sources published on GitHub

July 14, 2023

© 2022 Parrot Media Network. All Rights Reserved.

  • Home
  • Parrot Media Group
  • Privacy Policy
  • Terms and Conditions
Join Us!

Subscribe to our newsletter and never miss our latest news, podcasts etc..

Zero spam, Unsubscribe at any time.

Removed from reading list

Undo
Go to mobile version
Welcome Back!

Sign in to your account

Lost your password?