Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20127 - Vpopmail stores passwd in clear text
Summary: Vpopmail stores passwd in clear text
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard:
Keywords: SECURITY
Depends on:
Blocks:
 
Reported: 2003-04-28 16:15 UTC by Florian Dittmer
Modified: 2003-09-25 17:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Dittmer 2003-04-28 16:15:02 UTC
Vpopmail stores the passwords in clear text (in addition to the encrypted passwd in 
the "vpasswd" files) because of the configure parameter "--enable-clear-passwd=y" in 
the ebuild. 
 
Is there a special reason for this? Else I would suggest to set this to no by default, for  
security reasons. 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-06 01:25:17 UTC
As a sysadmin that uses vpopmail, I'd like to point out that for the most part, if your system has been hacked to the point that somebody gets to the cleartext password, you have much larger problems.

Also, given that most IMAP implementations send passwords without any encryption at all, let alone SSL, storing a secured copy of the cleartext is actually a boon for the administrator.

Any qaulms as marking this 'WONTFIX' ?
Comment 2 solar (RETIRED) gentoo-dev 2003-08-19 16:26:20 UTC
I would personally prefer to see it become optional so that we may please (all|most|some|a few) of our users security concerns.
Comment 3 John Mylchreest (RETIRED) gentoo-dev 2003-09-25 08:24:29 UTC
anyone object to:

if [ -n "$(use crypt)" ] ; then
  myconf="${myconf} --enable-clear-passwd=n"
else
  myconf="${myconf} --enable-clear-passwd=y"
fi
Comment 4 SpanKY gentoo-dev 2003-09-25 09:40:11 UTC
i'd object ...
how about a local USE flag ...
IUSE="clearpasswd" ... that way the user knows exactly what they're getting
...
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-25 11:19:29 UTC
I agree with vapier.
A seperate USE flag would be best.
Comment 6 solar (RETIRED) gentoo-dev 2003-09-25 17:03:22 UTC
Added support for local use flag "clearpasswd" vpopmail-5.2.1-r6 / use.local.desc

Note:
This changes the default behavior to now not store cleartext by default.