Hexret
CVE-2021-3618high 7.4PoC available

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

Practice this CVE, free

Classified as

References

Related CVEs