ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #01550
[Bug 370627] Re: Inadvertent opening of encrypted dir
So, after all this time, I have upgraded to Karmic today and exactly the
same bug still exists there on ecryptfs-utils 81-0ubuntu3.
This is a terrible security hole so, apart from it existing for so long,
I am amazed more users have not complained about it.
** Changed in: ecryptfs
Status: Fix Released => Incomplete
--
Inadvertent opening of encrypted dir
https://bugs.launchpad.net/bugs/370627
You received this bug notification because you are a member of eCryptfs,
which is a direct subscriber.
Status in eCryptfs - Enterprise Cryptographic Filesystem: Incomplete
Bug description:
I've found what I think is quite a significant bug in ecryptfs. I am a user who has auto-login enabled so it means that ecryptfs correctly (as designed) does not automatically mount ~/.Private/. I've discovered that any time you use "sudo" that your password get installed in the kernel keyring and your ~/.Private dir becomes automatically available to be mounted merely by (anybody) clicking on the standard "Access your Private data" link. No password/passphrase is then required to be explicitly entered to open your private dir. The same problem applies even if you don't use auto-login - you may think you have closed off private access with ecryptfs-umount-private but a simple sudo somewhere else makes your private directory available again without entering a password.
It is un-reasonable and dangerous that a typical naive user should have to be aware that he has exposed his private dir just because he did an sudo somewhere completely unrelated. There should be no correlation between sudo and this ecryptfs functionality.
I'm using ecryptfs-utils version 73-0ubuntu6 on jaunty.
References