Property
Languagejava
Severitylow
CWECWE-295: Improper Certificate Validation
OWASPA03:2017 - Sensitive Data Exposure
Confidence LevelLow
Impact LevelLow
Likelihood LevelLow

Description#

The code uses a HostnameVerifier implementation that always returns true, effectively disabling hostname verification for SSL connections. This means the application will trust any SSL certificate, regardless of the server’s actual identity.

Impact#

Attackers could intercept or manipulate traffic between the app and its servers using man-in-the-middle attacks, potentially exposing sensitive data or credentials. This undermines the security of encrypted connections and can lead to data breaches or unauthorized access.