Comparison using wrong factors in Bouncy Castle for Java - CVE-2020-28052

 

Comparison using wrong factors in Bouncy Castle for Java - CVE-2020-28052

Published: December 18, 2020 / Updated: January 6, 2021


Vulnerability identifier: #VU49086
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-28052
CWE-ID: CWE-1025
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to brute-force password hashes.

The vulnerability exists due to comparison error in OpenBSDBCrypt.checkPassword() function in core/src/main/java/org/bouncycastle/crypto/generators/OpenBSDBCrypt.java when matching passwords with hashes. A remote attacker can pass an incorrect password that will be accepted as a valid one by the library, bypass authentication process and gain unauthorized access to the application that uses vulnerable version of Bouncy Castle.


Affected software

Bouncy Castle for Java
Oracle Communications Convergence
Oracle Communications Instant Messaging Server
Oracle Communications Application Session Controller
Oracle Blockchain Platform
Oracle Utilities Framework
Oracle Business Intelligence Enterprise Edition
IBM Cloud Pak for Watson AIOps
JBoss Enterprise Application Platform
Fuse
Oracle WebLogic Server
PeopleSoft Enterprise PeopleTools
JD Edwards EnterpriseOne Tools
Oracle WebCenter Portal
Oracle Commerce Guided Search
Oracle Business Process Management Suite
eap7-h2database (Red Hat package)
eap7-avro (Red Hat package)
eap7-bouncycastle (Red Hat package)
eap7-jboss-marshalling (Red Hat package)
eap7-xalan-j2 (Red Hat package)
eap7-jackson-databind (Red Hat package)
eap7-apache-cxf (Red Hat package)
eap7-jboss-xnio-base (Red Hat package)
eap7-wildfly (Red Hat package)
Red Hat Single Sign-On
RSA Authentication Manager

How to mitigate CVE-2020-28052

Install updates from vendor's website.

Bouncy Castle for Java - update to 1.67
JBoss Enterprise Application Platform - addressed in versions 7.1.8, 7.3.6
Fuse - update to 7.8.1
JD Edwards EnterpriseOne Tools - update to 9.2.5.3
eap7-h2database (Red Hat package) - update to 1.4.197-2.redhat_00005.1.ep7.el7
eap7-avro (Red Hat package) - update to 1.7.6-2.redhat_00003.1.ep7.el7
eap7-bouncycastle (Red Hat package) - update to 1.68.0-1.redhat_00005.1.ep7.el7
eap7-jboss-marshalling (Red Hat package) - update to 2.0.15-1.Final_redhat_00001.1.ep7.el7
eap7-xalan-j2 (Red Hat package) - update to 2.7.1-26.redhat_00015.1.ep7.el7
eap7-jackson-databind (Red Hat package) - update to 2.8.11.6-1.SP1_redhat_00001.1.ep7.el7
eap7-apache-cxf (Red Hat package) - update to 3.1.16-3.SP1_redhat_00001.1.ep7.el7
eap7-jboss-xnio-base (Red Hat package) - update to 3.5.10-1.Final_redhat_00001.1.ep7.el7
IBM Cloud Pak for Watson AIOps - update to 4.4.0
eap7-wildfly (Red Hat package) - update to 7.1.8-2.GA_redhat_00002.1.ep7.el7
Red Hat Single Sign-On - update to 7.4.6
RSA Authentication Manager - update to 8.7 Patch 2
Oracle Blockchain Platform - update to 21.1.2

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins