CVE-2020-28052
HIGHLegion of the Bouncy Castle BC Java <1.67 - Info Disclosure
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2020-28052. PoCs published by kurenaif, madstap.
AI-analyzed exploit summary This PoC demonstrates a collision vulnerability in BouncyCastle's OpenBSDBCrypt password hashing algorithm (CVE-2020-28052), where different plaintexts produce the same hash. The code generates and checks password hashes to showcase the issue.
Description
An issue was discovered in Legion of the Bouncy Castle BC Java 1.65 and 1.66. The OpenBSDBCrypt.checkPassword utility method compared incorrect data when checking the password, allowing incorrect passwords to indicate they were matching with previously hashed ones that were different.
Exploits (2)
This PoC demonstrates a collision vulnerability in BouncyCastle's OpenBSDBCrypt password hashing algorithm (CVE-2020-28052), where different plaintexts produce the same hash. The code generates and checks password hashes to showcase the issue.
This repository provides instructions for testing CVE-2020-28052, an authentication bypass vulnerability in Bouncy Castle. It includes commands to test vulnerable and patched versions but does not contain actual exploit code.
References (26)
Scores
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H