Property
Languageruby
Severityhigh
CWECWE-295: Improper Certificate Validation
OWASPA03:2017 - Sensitive Data Exposure
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelHigh

Description#

The code disables SSL certificate verification by using ‘OpenSSL::SSL::VERIFY_NONE’, which allows connections to untrusted or malicious servers. This means encrypted connections are not properly validated and can be easily intercepted.

Impact#

Attackers could perform man-in-the-middle attacks to intercept or alter sensitive data transmitted over SSL/TLS connections, such as login credentials or personal information. This exposes users and the application to data theft, impersonation, and loss of trust.