Re: [TLS] Could the renegotiation attack be used for session hijacking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TLS] Could the renegotiation attack be used for session hijacking?
Yoav Nir wrote:
>
> 1. Client connects without a certificate, but the session is
> authenticated by the protocol (like an HTTP form or FTP login). The MITM
> just proxies the connection to allow the client to authenticate.
TLS is now doing its job providing encryption and MITM cannot read or
modify traffic.
> 2. After a while, the session requires rekeying, so the server sends a
> HelloRequest.
This will be observable by MITM because the record layer does not
encrypt the payload type identifier. It will be seen as a handshake
message from server to client, I believe of predictable size.
> 3. The MITM stops passing data to the client, and sends a ClientHello to
> the server.
The renegotiation handshaking is covered by the encryption state of the
previous session. So this attack is defeated.
It may be that some TLS servers would accept an unencrypted Client Hello
at this point, or even an SSLv2-compatible Client Hello which may be
handled by a different code path. But I don't think those would be bugs
in the TLS protocol, just implementation bugs.
- Marsh
Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.