Description
The undertow client is not checking the server identity presented by the server certificate in https connections. This is a compulsory step (at least it should be performed by default) in https and in http/2. I would add it to any TLS client protocol.
Remediation
References
Related Vulnerabilities
Squid Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2019-18679)
WordPress Permissions, Privileges, and Access Controls Vulnerability (CVE-2013-2199)
Play Framework Out-of-bounds Write Vulnerability (CVE-2020-27196)
Moodle Permissions, Privileges, and Access Controls Vulnerability (CVE-2012-2354)
Atlassian Jira Incorrect Behavior Order: Validate Before Canonicalize Vulnerability (CVE-2022-26137)