Re: [xmpp] IQ Handling vulnerabilities

Peter Saint-Andre <stpeter@stpeter.im> Mon, 10 February 2014 16:40 UTC

Return-Path: <stpeter@stpeter.im>
X-Original-To: xmpp@ietfa.amsl.com
Delivered-To: xmpp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D823E1A017E for <xmpp@ietfa.amsl.com>; Mon, 10 Feb 2014 08:40:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.45
X-Spam-Level:
X-Spam-Status: No, score=-2.45 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.548, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yOwlypCdEtAf for <xmpp@ietfa.amsl.com>; Mon, 10 Feb 2014 08:40:30 -0800 (PST)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id D8CB61A0409 for <xmpp@ietf.org>; Mon, 10 Feb 2014 08:40:29 -0800 (PST)
Received: from aither.local (unknown [24.8.129.242]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id A81554032A; Mon, 10 Feb 2014 09:40:29 -0700 (MST)
Message-ID: <52F900FD.5030805@stpeter.im>
Date: Mon, 10 Feb 2014 09:40:29 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Thijs Alkemade <thijs@xnyhps.nl>, kevin@kismith.co.uk
References: <CAOb_FnxS-dMT85N7LHj5M9JWk3pL85=ugrDqaT7j5d28HBr0Cw@mail.gmail.com> <CF194491.38AD3%jhildebr@cisco.com> <2F5E925F-021D-408E-91D9-3CC5BEB6BEC6@nostrum.com> <48F4D361-4403-47E6-862D-FBDDDEBCC642@xnyhps.nl> <CF1A369C.38BE2%jhildebr@cisco.com> <CAKHUCzyCwKbmnUoXLHW=XzYbiFrcg-dQsDojGUnA-_r3qK+_Vg@mail.gmail.com> <12420410-2615-4A32-8998-AFF19D4EF7BC@xnyhps.nl> <CAKHUCzw6r4vZOHmLm62YgQAj72EjiXbqc8ZShC4=pJ5gxff31w@mail.gmail.com> <CAOb_FnybyUd69ayMPiLZd1i1n4=cnPA6NB-d3BqguSRH3cJLtA@mail.gmail.com> <A5EDDD45-EADA-43D8-B1C8-80C72F1C4AAC@xnyhps.nl>
In-Reply-To: <A5EDDD45-EADA-43D8-B1C8-80C72F1C4AAC@xnyhps.nl>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Cc: Ben Campbell <ben@nostrum.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] IQ Handling vulnerabilities
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: XMPP Working Group <xmpp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xmpp>, <mailto:xmpp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xmpp/>
List-Post: <mailto:xmpp@ietf.org>
List-Help: <mailto:xmpp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Feb 2014 16:40:32 -0000

On 2/10/14, 5:12 AM, Thijs Alkemade wrote:
>
> On 9 feb. 2014, at 23:04, Kevin Smith <kevin@kismith.co.uk> wrote:
>
>> On Sun, Feb 9, 2014 at 7:30 PM, Dave Cridland <dave@cridland.net> wrote:
>>> I'd hope Kev's example is way off, though - I suspect that servers ignore
>>> the XEP-0199 reply stanza and just look for activity on the socket.
>>
>> I would hope so, too - but given some of the things we've seen on the
>> client side in the last couple of weeks, I don't think it's
>> unreasonable to suspect there might be servers with as severe
>> problems. Whether we can find the vulnerabilities or not, though,
>> doesn't reduce the need to document the issues, I think.
>>
>> /K
>
> I’ve submitted an I-D about this issue here, to help discussion at IETF 89:
>
> http://datatracker.ietf.org/doc/draft-alkemade-xmpp-iq-validation/

Hi Thijs,

The document looks good to me. I'll review it in more detail after I 
submit the ~10 I-Ds I need to update this week. :-)

Peter

-- 
Peter Saint-Andre
https://stpeter.im/