Abstract
Implementations of the Transport Layer Security (TLS) protocol must handle a variety of protocol versions and extensions, authentication modes, and key exchange methods. Confusingly, each combination may prescribe a different message sequence between the client and the server. We address the problem of designing a robust composite state machine that correctly multiplexes between these different protocol modes. We systematically test popular open-source TLS implementations for state machine bugs and discover several critical security vulnerabilities that have lain hidden in these libraries for years, and have now finally been patched due to our disclosures. Several of these vulnerabilities, including the recently publicized FREAK flaw, enable a network attacker to break into TLS connections between authenticated clients and servers. We argue that state machine bugs stem from incorrect compositions of individually correct state machines. We present the first verified implementation of a composite TLS state machine in C that can be embedded into OpenSSL and accounts for all its supported cipher suites. Our attacks expose the need for the formal verification of core components in cryptographic protocol libraries, our implementation demonstrates that such mechanized proofs are within reach, even for mainstream TLS implementations.
Original language | English |
---|---|
Title of host publication | 2015 IEEE Symposium on Security and Privacy |
Publisher | Institute of Electrical and Electronics Engineers (IEEE) |
Pages | 535-552 |
Number of pages | 18 |
ISBN (Electronic) | 978-1-4673-6949-7 |
DOIs | |
Publication status | Published - 20 Jul 2015 |
Event | 2015 IEEE Symposium on Security and Privacy - The Fairmont, San Jose, CA, United States Duration: 18 May 2015 → 20 May 2015 https://www.ieee-security.org/TC/SP2015/ |
Publication series
Name | |
---|---|
Publisher | IEEE |
ISSN (Print) | 1081-6011 |
ISSN (Electronic) | 2375-1207 |
Conference
Conference | 2015 IEEE Symposium on Security and Privacy |
---|---|
Country/Territory | United States |
City | San Jose, CA |
Period | 18/05/15 → 20/05/15 |
Internet address |
Keywords
- cryptographic protocols
- formal verification
- TLS protocol
- authentication modes
- composite TLS state machine
- key exchange methods
- message sequence
- open-source TLS
- security vulnerabilities
- transport layer security protocol
- Authentication
- Computer bugs
- Cryptography
- Libraries
- Protocols
- Servers
- Transport Layer Security
- formal methods
- man-in-the-middle attacks
- software verification
Fingerprint
Dive into the research topics of 'A Messy State of the Union: Taming the Composite State Machines of TLS'. Together they form a unique fingerprint.Profiles
-
Markulf Kohlweiss
- School of Informatics - Senior Lecturer in Security and Privacy
- Laboratory for Foundations of Computer Science
- Foundations of Computation
Person: Academic: Research Active , Academic: Research Active (Teaching)