unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: POP3 password in plaintext?
Date: Tue, 30 Sep 2014 10:46:55 +0900	[thread overview]
Message-ID: <878ul1x4kw.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <E1XYhtJ-0003qj-8x@fencepost.gnu.org>

Richard Stallman writes:

 > [A source] says that POP3 passwords are sometimes transmitted in
 > plain text.
 > 
 > Is plaintext transmission of passwords inherent in POP3
 > or is it optional?

It's inherent.  There are other related protocols which purport to
give more security, but AFAIK they're all susceptible to man in the
middle attacks[1], which is why they haven't superseded POP3.

 > Is there something we can and should do to encourage users to stop
 > the plaintext transmission of their POP3 passwords?

There's not much users can do.

In most cases their mailboxes are on heavily defended, trusted systems
(from the users' point of view, I know you worry about the reliability
of the administrators), so the normal approach to this problem is to
use TLS to protect the channel from snooping.  If a virus has
installed a keyboard snooper on your machine, it reads the password as
you type.  If the admins on the mail host want to read your mail, they
can do so -- they have root.

IMAP4 may be more secure by default, I forget the details about IMAP.
I suppose you could add a "nanny mode" to Emacs POP clients to tell
the users that they're using an insecure channel if they POP3 to port
110 instead of 995 (the latter is the IANA-registered port for POP3
over TLS).

For those who care, there's a overview of POP3 here:
http://tools.ietf.org/html/rfc1939#page-3

More options for authentication here:
http://tools.ietf.org/html/rfc1734

These are very old RFCs (RFC 1939 is dated May 1996).



Footnotes: 
[1]  Eg, APOP uses MD5 plus a plain-text session salt transmitted
in-band to encrypt the password, which is easily breakable offline
with brute force attack for typical password lengths, and requires
that the server store the password for comparison of the hashes.




  reply	other threads:[~2014-09-30  1:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-29 20:49 POP3 password in plaintext? Richard Stallman
2014-09-30  1:46 ` Stephen J. Turnbull [this message]
2014-09-30 13:31   ` Ted Zlatanov
2014-09-30 19:23   ` Richard Stallman
2014-10-01  4:00     ` Stephen J. Turnbull
2014-10-01  5:33       ` David Kastrup
2014-10-01 12:54         ` Richard Stallman
2014-10-01 13:15           ` David Kastrup
2014-10-01 17:56         ` David Caldwell
2014-10-01  5:42       ` David Caldwell
2014-10-01 13:22       ` Ted Zlatanov
2014-10-02  1:58         ` Stephen J. Turnbull
2014-10-02 17:04           ` Ted Zlatanov
2014-10-03 10:54             ` Stephen J. Turnbull
2014-10-01 13:48       ` Stefan Monnier
2014-10-01 14:02         ` Lars Magne Ingebrigtsen
2014-10-01 14:37           ` Stefan Monnier
2014-10-01 23:29           ` Ted Zlatanov
2014-09-30 14:17 ` Lars Magne Ingebrigtsen
2014-09-30 19:25   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ul1x4kw.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).