Open coudot opened 1 year ago
In CAS client code, SSL validation is disabled (https://github.com/itsmng/itsm-ng/blob/main/inc/auth.class.php#L486):
// no SSL validation for the CAS server phpCAS::setNoCasServerValidation();
This is a bad practice and can be considered as a security issue (with DNS spoofing, an attacker can log as any user).
The SSL validation should be enabled by default, and an option can be created to disable it if needed.
Hi @coudot ,
Thanks for your report. We will investigate and get back to you as soon as possible.
Best regards, Charlene
In CAS client code, SSL validation is disabled (https://github.com/itsmng/itsm-ng/blob/main/inc/auth.class.php#L486):
This is a bad practice and can be considered as a security issue (with DNS spoofing, an attacker can log as any user).
The SSL validation should be enabled by default, and an option can be created to disable it if needed.