Skip to content

STARTTLS is Dangerous

Hanno Böck

Hanno Böck reveals critical flaws in STARTTLS implementations across mail servers and clients, demonstrating command injection and credential theft via protocol downgrade attacks.

Summary

The Inherent Fragility of STARTTLS

The STARTTLS mechanism was designed to opportunistically upgrade plaintext application protocols (such as SMTP, IMAP, and POP3) to encrypted TLS sessions, but its design introduces severe architectural risks.

Command Injection in Mail Transfer Agents

Hanno Böck revisits classic protocol flaws—including Wietse Venema's 2011 Postfix vulnerability—showing that command injection across plaintext-to-ciphertext transitions remains pervasive in modern mail servers.

Client-Side Credential Theft

Böck reveals that widespread email clients are equally susceptible to machine-in-the-middle command injection, allowing attackers to hijack authentication sessions and harvest plaintext user credentials.

Abandoning Opportunistic Upgrades

The speaker demonstrates ambiguous and contradictory RFC specifications governing STARTTLS, arguing that the security community must deprecate STARTTLS in favor of strict implicit TLS connections.

Related talks