Re: [yam] [secdir] secdir review of draft-ietf-yam-rfc1652bis-03

John C Klensin <john-ietf@jck.com> Mon, 08 March 2010 00:08 UTC

Return-Path: <john-ietf@jck.com>
X-Original-To: yam@core3.amsl.com
Delivered-To: yam@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8D9AA3A676A for <yam@core3.amsl.com>; Sun, 7 Mar 2010 16:08:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wP4GQ0NLF-+3 for <yam@core3.amsl.com>; Sun, 7 Mar 2010 16:08:12 -0800 (PST)
Received: from bs.jck.com (ns.jck.com [209.187.148.211]) by core3.amsl.com (Postfix) with ESMTP id 3F0833A672F for <yam@ietf.org>; Sun, 7 Mar 2010 16:08:12 -0800 (PST)
Received: from [127.0.0.1] (helo=localhost) by bs.jck.com with esmtp (Exim 4.34) id 1NoQVn-00094F-Vs; Sun, 07 Mar 2010 19:07:56 -0500
Date: Sun, 07 Mar 2010 19:07:53 -0500
From: John C Klensin <john-ietf@jck.com>
To: Ned Freed <ned.freed@mrochek.com>, Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <CA8B6EE88BE8D3B9D12C696D@PST.JCK.COM>
In-Reply-To: <01NKGR6SSL4G00DRKJ@mauve.mrochek.com>
References: <4B8E515A.6060608@isode.com> <6.2.5.6.2.20100303103218.0ba092a0@resistor.net> <4B90ED1C.8040905@tana.it> <6.2.5.6.2.20100305051249.09f24f38@resistor.net> <4B923E1E.4070201@tana.it> <6.2.5.6.2.20100306054559.08fe2908@resistor.net> <4B92DEBC.9030209@dcrocker.net> <4B939BBC.6040102@isode.com> <01NKGR6SSL4G00DRKJ@mauve.mrochek.com>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Cc: dcrocker@bbiw.net, yam@ietf.org
Subject: Re: [yam] [secdir] secdir review of draft-ietf-yam-rfc1652bis-03
X-BeenThere: yam@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Yet Another Mail working group discussion list <yam.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/yam>, <mailto:yam-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/yam>
List-Post: <mailto:yam@ietf.org>
List-Help: <mailto:yam-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yam>, <mailto:yam-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Mar 2010 00:08:13 -0000

--On Sunday, March 07, 2010 10:40 -0800 Ned Freed
<ned.freed@mrochek.com> wrote:

>...
>> > The 8bitmime option does not create the potential for using
>> > SMTP option negotations as an attack vector, such as
>> > permitting discovery of which servers support an option.  I
>> > therefore think it better /not/ to cite that in 1652bis.
>> > Given that this style of attack is not mentioned elsewhere,
>> > I suppose a small enhancement to the current text would be
>> > reasonable, such as:
>> > 
>> >    is not believed to
>> >    raise any security issues not already endemic in
>> >    electronic mail and present in fully conforming
>> >    implementations of [RFC5321] {{ , including
>> >    attacks facilitated by the presence of an option
>> >    negotiation mechanism.}}
> 
>> Works for me.
> 
> This is fine with me as well.

Yes, me too.

>> > Even though 8bitmime is not a pure 'binary' mechanism, it
>> > does move things into a binary realm.  I therefore think
>> > that it /is/ reasonable to cite the potential for
>> > facilitating attacks based on use of binary data.  Hence, I
>> > propose also adding the text:
>> > 
>> >    Exploitation by malware is facilitated by supporting
>> >    binary data in the
>> >    transfer.  The 8BITMIME option does not provide a pure
>> >    binary transport, but
>> >    since it does transfer a nearly-binary object, there is
>> >    some possibility
>> >    that is could facilitate exploitations of this type.
> 
>> I am not convinced this is needed, as I would like to better
>> understand what the issue is. However I also like detailed
>> Security Considerations sections so I wouldn't object to
>> adding this text either.
> 
> I have to strongly object to adding this, because this is
> quite simply at odds
> with reality. One of the main principles in MIME is to be
> transport neutral,
> that is, the semantics of what can be tranports *do* *not*
> change irrespective
> of whether the underlying transport is 7bit, 8bit, or binary
> capable.
> 
> Indeed, I have to say I'm somewhat astounded that everyone
> seems to have lost
> sight of this very basic principle, so if we're going to
> clarify anything in
> this secutity considerations section, it should be exactly the
> opposite of this claim. Something like
> 
>   Since MIME semantics are transport neutral the 8bitMIME
> option provides no
>   added capability to dessiminate maleare than is provided by
> unextended 7bit SMTP.
> 
> would be fine to say here.

FWIW, I agree with Ned.


>> BTW, Arnt and myself explained to Stephen Kent the difference
>> between 8BITMIME and BINARYMIME. So I think he now
>> understands that 8BITMIME is not appropriate for sending
>> arbitrary binary data.
> 
> That's true but beside the point. Unless you're going to argue
> that the reduced
> size you can get from BINARYMIME (and to a much lesser extent
> 8bitMIME) is a
> significant factor, there is sinmply no relevant difference in
> their capabilities.

Well, BINARYMIME might be slightly more efficient in mounting an
attack on a really stupid, mostly MIME-ignorant,
firewall/gateway.  On the other hand, the security risk there
comes from the "really stupid, mostly MIME-ignorant" part, not
the SMTP transport mechanism.   So, if one wanted to say
something relevant in the Security Considerations section, it
would be something like "Users of the email system should be
aware that ignorant, non-conforming, and incompetent
implementations of this and other email specifications can
create vulnerabilities.  Such implementations should be
avoided".  But come on now...  :-(

I agree with Ned about size relationships, too.
>...

     john