From:
[email protected]
--kXdP64Ggrk/fb43R
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Package: mutt
Version: 1.3.28-2.2
Severity: important
Tags: security
Hi.
It's possible to spoof the mutt PGP messages using the ^H-highlighting,
in the default setup. -- Enclosed is a mailbox containing just one
message; you can open it with mutt -f, and then just open the message.
It looks it's PGP signed with a good signature, but it isn't, it's
spoofed.
The default color scheme for PGP labels & ^H-highlighting should not be
the same, and mutt should at least emit a warning when they are set to
the same value by the user. Ideally, a special option allow_pgp_spoofing should be devised
As a temporary workaround, the default .muttrc should contain a ``color
bold'' command that would set the ^H-highlighted characters' color to
something different from the label color, along with an explanatory
comment, and a this bugreport URL. -- IMO, the default text color (i.e. scrapping any highlighting) would be most suitable, because when some highlighting was actually chosen, the user might think, that this was
just an error in the highlighting code (note that there is some
discussion in the manual about enabling escape-sequences, that could be
read as that no highlighting is possible whatsoever), and that the
signature in fact is real. Think about colorblind people, monochromatic terminals, VGA palette tweaks, if you *really* want to disagree.
I hope You won't respond with that... ehm... interesting opinion that defaults-are-to-be-preserved, Marco.
Note that this bug affects not only the PGP labels, but all the
attachment delimiters.
I've sent an advisory to bugtraq, just an hour ago, it should promulgate
in a due time.
I hope I did it right this time, and my severity assessment is going to
please our beloved DST. (Perhaps I really made some mistakes in the
past, sorry, people.)
Please keep me CC'd.
Cheers,
Jan.
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux kontryhel 2.4.26-jan #6 SMP Tue Jul 27 21:24:30 CEST 2004 i686 Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2
Versions of packages mutt depends on:
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an ii libncurses5 5.2.20020112a-7 Shared libraries for terminal hand ii libsasl7 1.5.27-3 Authentication abstraction library ii postfix [mail-transport- 1.1.11-0.woody3 A high-performance mail transport
--
"To me, clowns aren't funny. In fact, they're kind of scary. I've wondered
where this started and I think it goes back to the time I went to the circus,
and a clown killed my dad."
--kXdP64Ggrk/fb43R
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=mutt-pgp-spoofing-poc Content-Transfer-Encoding: quoted-printable
From
[email protected] Thu Aug 12 01:48:21 2004Return-Path: <
[email protected]>Delivered-To:
[email protected]eived: by mail.haltyr.dejvice.czf (Postfix, from userid 1000) id 91AD1484F; Thu, 12 Aug 2004 01:48:21 +0200 (CEST)Date: Thu,
12 Aug 2004 01:48:21 +0200From: Jan Minar <
[email protected]>To: Jan Minar <
[email protected]>Subject: mutt PGP signature spoofing POCMessage-ID: <
[email protected]>Mime-Version: 1.0Content-Type: text/plain;
charset=us-asciiContent-Disposition: inlineContent-Transfer-Encoding: 8bitUser-Agent: Mutt/1.3.28i[[---- PPGGPP oouuttppuutt ffoolll