aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
pre { line-height: 125%; } td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .k { color: #008800; font-weight: bold } /* Keyword */ .highlight .ch { color: #888888 } /* Comment.Hashbang */ .highlight .cm { color: #888888 } /* Comment.Multiline */ .highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */ .highlight .cpf { color: #888888 } /* Comment.PreprocFile */ .highlight .c1 { color: #888888 } /* Comment.Single */ .highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ .highlight .gr { color: #aa0000 } /* Generic.Error */ .highlight .gh { color: #333333 } /* Generic.Heading */ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ .highlight .go { color: #888888 } /* Generic.Output */ .highlight .gp { color: #555555 } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

fetchmail-SA-2005-02: security announcement

Topic:		password exposure in fetchmailconf

Author:		Matthias Andree
Version:	1.03
Announced:	2005-10-21
Type:		insecure creation of file
Impact:		passwords are written to a world-readable file
Danger:		medium
Credits:	Thomas Wolff, Miloslav Trmac for pointing out
		that fetchmailconf 1.43.1 was also flawed
CVE Name:	CVE-2005-3088
URL:		http://fetchmail.berlios.de/fetchmail-SA-2005-02.txt

Affects:	fetchmail version 6.2.5.2
		fetchmail version 6.2.5
		fetchmail version 6.2.0
		fetchmailconf 1.43   (shipped with 6.2.0, 6.2.5 and 6.2.5.2)
		fetchmailconf 1.43.1 (shipped separately, now withdrawn)
		(other versions have not been checked but are presumed affected)

Not affected:	fetchmailconf 1.43.2 (use this for fetchmail-6.2.5.2)
		fetchmail 6.2.5.4
		fetchmail 6.3.0

Corrected:	2005-09-28 01:14 UTC (SVN) - committed bugfix (r4351)
		2005-10-21                 - released fetchmailconf-1.43.2
		2005-11-13                 - released fetchmail 6.2.5.4
		2005-11-30                 - released fetchmail 6.3.0

0. Release history
==================

2005-10-21	1.00 - initial version (shipped with -rc6)
2005-10-21	1.01 - marked 1.43.1 vulnerable
		     - revised section 4
		     - added Credits
2005-10-27	1.02 - reformatted section 0
		     - updated CVE Name to new naming scheme
2005-12-08	1.03 - update version information and solution

1. Background
=============

fetchmail is a software package to retrieve mail from remote POP2, POP3,
IMAP, ETRN or ODMR servers and forward it to local SMTP, LMTP servers or
message delivery agents.

fetchmail ships with a graphical, Python/Tkinter based configuration
utility named "fetchmailconf" to help the user create configuration (run
control) files for fetchmail.

2. Problem description and Impact
=================================

The fetchmailconf program before and excluding version 1.49 opened the
run control file, wrote the configuration to it, and only then changed
the mode to 0600 (rw-------). Writing the file, which usually contains
passwords, before making it unreadable to other users, can expose
sensitive password information.

3. Workaround
=============

Run "umask 077", then run "fetchmailconf" from the same shell. After
fetchmailconf has finished, you can restore your old umask.

4. Solution
===========

Download and install fetchmail 6.3.0 or a newer stable release from
fetchmail's project site at
<http://developer.berlios.de/project/showfiles.php?group_id=1824&release_id=6617>.

A. References
=============

fetchmail home page: <http://fetchmail.berlios.de/>

B. Copyright, License and Warranty
==================================

(C) Copyright 2005 by Matthias Andree, <matthias.andree@gmx.de>.
Some rights reserved.

This work is licensed under the Creative Commons
Attribution-NonCommercial-NoDerivs German License. To view a copy of
this license, visit http://creativecommons.org/licenses/by-nc-nd/2.0/de/
or send a letter to Creative Commons; 559 Nathan Abbott Way;
Stanford, California 94305; USA.

THIS WORK IS PROVIDED FREE OF CHARGE AND WITHOUT ANY WARRANTIES.
Use the information herein at your own risk.

END OF fetchmail-SA-2005-02.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFIV7WWvmGDOQUufZURAlq/AKCx+EnXjnakBVkUjtdIh+moYOgIqACdERnd
TR05jtCG4JEb6iHz8AVcfOc=
=vL+b
-----END PGP SIGNATURE-----
Commit message (Collapse)AuthorAgeFilesLines
* Minor corrections.Eric S. Raymond2000-06-281-1/+1
| | | | svn path=/trunk/; revision=2906
* IPv6 patches.Eric S. Raymond1999-12-191-5/+6
| | | | svn path=/trunk/; revision=2666
* This preliminary SSL patch goes to Mike.Eric S. Raymond1999-10-271-6/+22
| | | | svn path=/trunk/; revision=2643
* Ready to ship 5.0.0.Eric S. Raymond1999-02-281-1/+2
| | | | svn path=/trunk/; revision=2393
* Prefix bug is fixed.Eric S. Raymond1999-01-061-5/+1
| | | | svn path=/trunk/; revision=2334
/td> | | | | svn path=/trunk/; revision=1337 * Added warning.Eric S. Raymond1997-09-111-4/+6 | | | | svn path=/trunk/; revision=1333 * Require OPIE to be explicitly enabled.Eric S. Raymond1997-07-301-2/+3 | | | | svn path=/trunk/; revision=1201 * First round of changes for OPIE support.Eric S. Raymond1997-07-171-8/+21 | | | | svn path=/trunk/; revision=1173 * James Brister's BSD/OS changes.Eric S. Raymond1997-07-011-1/+7 | | | | svn path=/trunk/; revision=1139 * First cut at being able to specify a Kerberos directory.Eric S. Raymond1997-06-271-0/+4 | | | | svn path=/trunk/; revision=1125 * *** empty log message ***Eric S. Raymond1997-06-241-1/+2 | | | | svn path=/trunk/; revision=1112 * Update and simplify installation.Eric S. Raymond1997-06-111-16/+14 | | | | svn path=/trunk/; revision=1091 * Normal build is now with POP2 disabled and optimization on.Eric S. Raymond1997-06-111-1/+12 | | | | svn path=/trunk/; revision=1080 * First step towards netrc fix.Eric S. Raymond1997-06-101-1/+2 | | | | svn path=/trunk/; revision=1078 * Eliminate some installation headaches.Eric S. Raymond1997-05-291-13/+0 | | | | svn path=/trunk/; revision=1053 * Make header rewrite play better with exim.Eric S. Raymond1997-05-061-2/+3 | | | | svn path=/trunk/; revision=982 * Add warning about broken makes.Eric S. Raymond1997-03-131-1/+5 | | | | svn path=/trunk/; revision=932 * First post-3.5 changes.Eric S. Raymond1997-02-161-0/+4 | | | | svn path=/trunk/; revision=890 * .poprc migration stuff moved to the FAQ file.Eric S. Raymond1997-02-151-25/+2 | | | | svn path=/trunk/; revision=884 * Note about atexit.Eric S. Raymond1996-12-111-0/+4 | | | | svn path=/trunk/; revision=624 * Move the bug-reporting advice FAQ.Eric S. Raymond1996-12-101-17/+1 | | | | svn path=/trunk/; revision=622 * We can make Solaris lex work.Eric S. Raymond1996-12-031-2/+1 | | | | svn path=/trunk/; revision=595 * Advice about lex.Eric S. Raymond1996-12-031-5/+7 | | | | svn path=/trunk/; revision=593 * Added FAQ file.Eric S. Raymond1996-11-221-0/+2 | | | | svn path=/trunk/; revision=570 * No known servers now give it indigestion.Eric S. Raymond1996-11-081-4/+2 | | | | svn path=/trunk/; revision=512 * Improved installation instructions.Eric S. Raymond1996-11-081-15/+13 | | | | svn path=/trunk/; revision=511 * We can now work with any bind library.Eric S. Raymond1996-11-081-5/+0 | | | | svn path=/trunk/; revision=504 * Implement batchlimit option.Eric S. Raymond1996-11-081-1/+3 | | | | svn path=/trunk/; revision=503 * Ready for release.Eric S. Raymond1996-11-061-0/+5 | | | | svn path=/trunk/; revision=496 * Add notes on how to report bugs.Eric S. Raymond1996-11-011-0/+14 | | | | svn path=/trunk/; revision=464 * Not experimental any more.Eric S. Raymond1996-10-291-3/+0 | | | | svn path=/trunk/; revision=423 * Cleanup for PL3.Eric S. Raymond1996-10-281-6/+25 | | | | svn path=/trunk/; revision=402 * Document recent changes.Eric S. Raymond1996-10-251-1/+11 | | | | svn path=/trunk/; revision=385 * Another pass at making multidrop work OK.Eric S. Raymond1996-10-251-0/+3 | | | | svn path=/trunk/; revision=376 * Update.Eric S. Raymond1996-10-241-0/+3 | | | | svn path=/trunk/; revision=370 * Typo fix.Eric S. Raymond1996-10-231-1/+1 | | | | svn path=/trunk/; revision=368