]> Pileus Git - ~andy/fetchmail/blob - fetchmail-SA-2007-01.txt
Remove redhat_rc, this is up to the distributors, and Fedora uses systemd these days...
[~andy/fetchmail] / fetchmail-SA-2007-01.txt
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 fetchmail-SA-2007-01: APOP considered insecure
5
6 Topics:         APOP authentication insecure, fetchmail implementation lax
7
8 Author:         Matthias Andree
9 Version:        1.1
10 Announced:      2007-04-06
11 Type:           password theft when under MITM attack
12 Impact:         password disclosure possible
13 Danger:         low
14 Credits:        GaĆ«tan Leurent
15 CVE Name:       CVE-2007-1558
16 URL:            http://fetchmail.berlios.de/fetchmail-SA-2007-01.txt
17 Project URL:    http://fetchmail.berlios.de/
18
19 Affects:        fetchmail release < 6.3.8
20
21 Not affected:   fetchmail release 6.3.8
22
23 Corrected:      2007-03-18 fetchmail SVN
24
25
26 0. Release history
27 ==================
28
29 2007-04-06 1.0  first release
30 2008-04-24 1.1  add --ssl to section 3. suggestion A below
31
32
33 1. Background
34 =============
35
36 fetchmail is a software package to retrieve mail from remote POP2, POP3,
37 IMAP, ETRN or ODMR servers and forward it to local SMTP, LMTP servers or
38 message delivery agents.
39
40 fetchmail ships with a graphical, Python/Tkinter based configuration
41 utility named "fetchmailconf" to help the user create configuration (run
42 control) files for fetchmail.
43
44
45 2. Problem description and Impact
46 =================================
47
48 The POP3 standard, currently RFC-1939, has specified an optional,
49 MD5-based authentication scheme called "APOP".
50
51 APOP should no longer be considered secure.
52
53 Additionally, fetchmail's POP3 client implementation has been validating
54 the APOP challenge too lightly and accepted random garbage as a POP3
55 server's APOP challenge, rather than insisting that the APOP challenge
56 conformed to RFC-822, as required by RFC-1939.
57
58 This made it easier than necessary for man-in-the-middle attackers to
59 retrieve by several probing and guessing the first three characters of
60 the APOP secret, bringing brute forcing the remaining characters well
61 within reach.
62
63
64 3. Solution
65 ===========
66
67 Either of these is currently considered sufficient.
68
69 A. Only use APOP on SSL or TLS secured connections with mandatory and thorough
70    certificate validation, such as fetchmail --sslproto tls1 --sslcertck
71    or --ssl --sslproto ssl3 --sslcertck), or equivalent in the run control file.
72
73 B. Avoid APOP and use stronger authenticators.
74
75 C. If you must continue to use APOP without SSL/TLS, then install
76    fetchmail 6.3.8 or newer, as it is less susceptible to the attack by
77    validating the APOP challenge more strictly to make the attack
78    harder. The fetchmail 6.3.8 source code is available from
79    <http://developer.berlios.de/project/showfiles.php?group_id=1824>.
80
81
82 A. Copyright, License and Warranty
83 ==================================
84
85 (C) Copyright 2007, 2008 by Matthias Andree, <matthias.andree@gmx.de>.
86 Some rights reserved.
87
88 This work is licensed under the Creative Commons
89 Attribution-NonCommercial-NoDerivs German License. To view a copy of
90 this license, visit http://creativecommons.org/licenses/by-nc-nd/2.0/de/
91 or send a letter to Creative Commons; 559 Nathan Abbott Way;
92 Stanford, California 94305; USA.
93
94 THIS WORK IS PROVIDED FREE OF CHARGE AND WITHOUT ANY WARRANTIES.
95 Use the information herein at your own risk.
96
97 END OF fetchmail-SA-2007-01.txt
98 -----BEGIN PGP SIGNATURE-----
99 Version: GnuPG v1.4.5 (GNU/Linux)
100
101 iD8DBQFIV7WXvmGDOQUufZURAg8MAKDewyOyTpRs6HMcNLMA0vXx4glwLQCeOov6
102 r9AYJJu51+yAhjox79Tli+I=
103 =pGe2
104 -----END PGP SIGNATURE-----