GitHub Advisory Database
GHSA-rm7v-gqfg-p2wc
Improper Validation of Certificate with Host Mismatch in Shibboleth Identity Provider and OpenSAML Java
Details
The (1) HttpResource and (2) FileBackedHttpResource implementations in Shibboleth Identity Provider (IdP) before 2.4.1 and OpenSAML Java 2.6.2 do not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | edu.internet2.middleware:shibboleth-identityprovider | All versions before 2.4.1 (fixed in 2.4.1) |
| Maven | org.opensaml:opensaml | All versions before 2.6.2 (fixed in 2.6.2) |