Re: [dmarc-ietf] Reversing modifications from mailing lists

John Levine <johnl@taugh.com> Wed, 01 December 2021 19:10 UTC

Return-Path: <johnl@iecc.com>
X-Original-To: dmarc@ietfa.amsl.com
Delivered-To: dmarc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C9DD03A09D0 for <dmarc@ietfa.amsl.com>; Wed, 1 Dec 2021 11:10:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.85
X-Spam-Level:
X-Spam-Status: No, score=-1.85 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b=jZIovx/W; dkim=pass (2048-bit key) header.d=taugh.com header.b=cBRCJhzv
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 hMdHnBfBvDFf for <dmarc@ietfa.amsl.com>; Wed, 1 Dec 2021 11:10:35 -0800 (PST)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6C93C3A09C6 for <dmarc@ietf.org>; Wed, 1 Dec 2021 11:10:35 -0800 (PST)
Received: (qmail 85557 invoked from network); 1 Dec 2021 19:10:32 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=14e30.61a7c8a8.k2112; bh=Yp3B+T5BThAh7GAKF9idZgp8yihb9x1qeFm13W2P9bc=; b=jZIovx/WnSit1hvKHQfm/2TyPkM4go18rU9rb+iab4dxBVbgXrKDr6lssOwV1DKBgV2dUN9gXNgzaJWXrtrQCehqngEj2tqf7uEYbDSr0K2zC40IRjw6dDea/A6YlSxQjqhqm9atq54grybmlfAqXFne8/W5SHMVCVZ4Y+wnozpGS0XbJZ+DSZ+MrKtV6jkStbsWb0zAaiKyQOj5C4Y5L4qHgVi1Zg7zZakvqqBwpuGTx0OB7nU9M7J0gOoLIjFJWKRjpN9c87YGDBmUjUxfx4/uU5gcZ4WECyJVXCWX43EMzNVirLt7EK/WbtSe/4zCfHNam3v19AJ6+yipxtq/MA==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=14e30.61a7c8a8.k2112; bh=Yp3B+T5BThAh7GAKF9idZgp8yihb9x1qeFm13W2P9bc=; b=cBRCJhzvuyumG5cN8cDc/Zn/q58UiJd0aGtTkaNUYfjP/4rcRG2qEl1MUhyASab9jvZxVXHOvDyLx0rL4TmWVONmeUk+V7lCDJn1Q3l26qjbO1dJz6KIw4Ocv6qEv+5QQqxFJEUuOxlVwOLQDJ77KUejAwGT8+YdGCvhpH2AnGbrHA3YKW1ea7PWl/cqJw7Dmq1r/tMZzYiVhlFgEQ19dtxR0QWhsyujTkGuovLwrdyHQOYc9V9p7m6v+d+UNU8cApvXe3cyMrX9p717MAHare2eJtrTCnlw8Z69UWyuBagdQWE8zn/72pppss7eUR0/gqbzXQaAkCxpXbrjrcthTw==
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.2 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 01 Dec 2021 19:10:31 -0000
Received: by ary.qy (Postfix, from userid 501) id 72CD830D4C9E; Wed, 1 Dec 2021 14:10:30 -0500 (EST)
Date: Wed, 01 Dec 2021 14:10:30 -0500
Message-Id: <20211201191030.72CD830D4C9E@ary.qy>
From: John Levine <johnl@taugh.com>
To: dmarc@ietf.org
Cc: vesely@tana.it
In-Reply-To: <d3bb0d23-8930-8b7e-3c5e-03821daaae2a@tana.it>
Organization: Taughannock Networks
X-Headerized: yes
Cleverness: minimal
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/myUFtD9Ed-yMYjRmzpf_XxtzVmw>
Subject: Re: [dmarc-ietf] Reversing modifications from mailing lists
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Domain-based Message Authentication, Reporting, and Compliance \(DMARC\)" <dmarc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmarc>, <mailto:dmarc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmarc/>
List-Post: <mailto:dmarc@ietf.org>
List-Help: <mailto:dmarc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmarc>, <mailto:dmarc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Dec 2021 19:10:40 -0000

It appears that Alessandro Vesely  <vesely@tana.it> said:
>I'm not clear about the last but one paragraph of that section:
>
>    An example of such an attack includes altering the MIME structure,
>    exploiting lax HTML parsing in the MUA, and defeating duplicate
>    message detection algorithms.
>
>I'm going to file an errata about it.  Altering the MIME structure is only 
>possible if the value of l= is less than the original message length. 

I wish you hadn't.  I think the original concern was for sloppy MIME that
forgot the -- after the last part.

>Anyway, I wouldn't want to authenticate a message that underwent an HTML footer 
>addition, because it can completely replace the original content in the end 
>recipient's eyes.  My draft requires footers to be plain text.

Yet that's exactly what one of the largest discussion group services in the world did.
As I keep pointing out, this is like an UNCOL, it does not generalize enough to be useful.

On the other hand, ARC handles this just fine.

R's,
John