MISP's LinOTPAuth plugin, used for one-time-password authentication against a LinOTP server, did not enforce TLS server certificate verification when the LinOTPAuth.verifyssl configuration option was not explicitly set. In a default or minimally configured deployment, the authentication request to the LinOTP server was sent without peer or peer-name certificate validation, effectively allowing self-signed or spoofed certificates.
An attacker with a network position between the MISP instance and the LinOTP server could perform a man-in-the-middle attack to intercept or tamper with the authentication exchange, potentially capturing one-time passwords or user credentials.
Preconditions:
- The LinOTPAuth plugin is enabled and configured to communicate with a LinOTP server
- The LinOTPAuth.verifyssl setting is absent or null (not explicitly set to true or false)
- The attacker can position themselves on the network path between MISP and the LinOTP server
Security impact:
- Confidentiality of OTP tokens and authentication credentials in transit
- Potential for credential interception or replay
Affected versions: MISP prior to 2.5.52
The default behavior of the LinOTPAuth.verifyssl setting was changed so that a missing or null value now enables full TLS certificate verification (peer and peer-name validation). Only an explicit false value disables verification. This ensures that, by default, the MISP-to-LinOTP authentication channel is protected against man-in-the-middle attacks unless an administrator consciously opts out.