#VU78328 LDAP injection in The Bouncy Castle Crypto Package For Java - CVE-2023-33201

 

#VU78328 LDAP injection in The Bouncy Castle Crypto Package For Java - CVE-2023-33201

Published: July 17, 2023


Vulnerability identifier: #VU78328
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2023-33201
CWE-ID: CWE-90
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
The Bouncy Castle Crypto Package For Java
Software vendor:
Legion of the Bouncy Castle Inc.

Description

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to improper input validation in applications that use an LDAP CertStore from Bouncy Castle to validate X.509 certificates. During the certificate validation process, Bouncy Castle inserts the certificate's Subject Name into an LDAP search filter without any escaping, which leads to an LDAP injection vulnerability. A remote non-authenticated attacker can use a specially crafted X.509 certificate to bypass authentication process and gain unauthorized access to the application.


Remediation

Install updates from vendor's website.

External links