Re: SslStream weakness



"John Banes" <jabanes@xxxxxxxxxxxxxxxxxx> wrote in message
news:e%23PdTeWBHHA.4472@xxxxxxxxxxxxxxxxxxxxxxx
The .NET classes use schannel for SSL/TLS operations. I'm not a .NET
expert by any means, but I know this because I owned schannel for years,
and I remember helping out the .NET guys as they were implementing their
code (five minutes with a debugger would tell me the same thing). I'm not
sure if the .NET classes support sending CloseNotify messages or not,
though. Personally, I've always considered the truncation attack to be
fairly low priority in the grand scheme of things.

It's utterly unimportant on any protocol that includes its own information
as to when to expect the end of the data - HTTP, for instance, with its
Content-Length, or chunked encoding.

For protocols where the end of the data is indicated by the end of the TCP
stream, however, it's important that you correctly close the SSL stream
before the TCP stream, or else it would be relatively easy for an attacker
to curtail a stream of data without the recipient realising it. It's an
important, and relatively inexpensive, security measure for such protocols -
FTP is one example of such a protocol.

Alun.
~~~~


.



Relevant Pages

  • Re: GDM and XDMCP
    ... protocol = tcp ... socket_type = stream ... user = nobody ...
    (Fedora)
  • Re: GDM and XDMCP
    ... protocol = tcp ... socket_type = stream ... user = nobody ...
    (Fedora)
  • Re: error
    ... Error C00D11BB is "Unsupported protocol". ... stream then you might try reinstalling WMP over itself, ... Open RealPlayer, go to Tools, Preferences, File Types tab. ...
    (microsoft.public.windowsmedia.player)
  • Re: Problems with Ada.Streams.Read (blocking)
    ... I meant Ada stream associated with the socket. ... server will dutifully *wait* for each of them. ... This is a valid protocol state. ...
    (comp.lang.ada)
  • Re: windows media player error message
    ... Error C00D11BB is "Unsupported protocol". ... RealPlayer) If you are getting this for a support ... stream then you might try reinstalling WMP over itself, ... *exact* link to the content you are trying to play. ...
    (microsoft.public.windowsmedia.player)