ALPACA: a valid certificate for the wrong protocol
A TCP-level man-in-the-middle could redirect HTTPS traffic to a tolerant non-HTTP TLS service using a certificate valid for the target hostname. Without ALPN or strict SNI binding, TLS authenticated the key but not the intended application protocol.
- Product
- TLS deployments with cross-protocol certificate compatibility
- Vendor
- Multiple TLS application-server vendors
- Affected
- Configurations where HTTPS and tolerant FTP, SMTP, IMAP, or POP3 services use certificates valid for the intended HTTPS hostname and do not require protocol-specific ALPN or strict SNI; evaluated examples included vsftpd before 3.0.4, nginx before 1.21.0, and sendmail before 8.17
- Fixed in
- Product and configuration specific: require protocol-specific ALPN and strict SNI, apply vendor updates, and avoid certificate-compatible identities across unrelated services
- Weakness
- CWE-295
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Published
- 23 Mar 2022
Classified as
References
Related CVEs
- CVE-2022-26923high 8.82022
Certifried: AD CS certificate SAN spoofed from a writable dNSHostName
A certificate template that builds its Subject Alternative Name from the enrollee's dNSHostName lets a low-privileged user mint an authentication certificate for any machine, because dNSHostName is self-writable and not unique.
- CVE-2020-0601high 8.12020
CurveBall: ECC parameter confusion in Windows certificate validation
Windows CryptoAPI could match an attacker-supplied ECC issuer to a trusted root by public-key material while failing to bind the comparison to the curve parameters that define how that key is interpreted.
- CVE-2014-1266high 7.42014
Apple goto fail: skipped TLS signature check
A duplicated goto jumps past the signature verification in a TLS key-exchange handler, so the function returns success without ever checking the signature, letting a man-in-the-middle spoof any server.
- CVE-2015-4000low 3.72015
Logjam: 512-bit export DH accepted as ordinary DHE
TLS did not bind the export status of signed Diffie-Hellman parameters strongly enough, and vulnerable clients accepted a 512-bit export group after an active attacker rewrote the cipher-suite negotiation.