-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
don't reveal users mail adress by default #14959
Comments
what do you think @nextcloud/server-triage ? |
Actually the default is contacts only: |
yes, but contacts means all other users on the same server plus trusted federation servers, doesn't it? I think that's the point of @yasuoiwakura... |
Yes, i see no reason to assume my users would want their mail adress revealed to each other. |
Any idea how to temporary fix or disable this leak? it is a real privacy problem for my users... |
Updated to NC16, still same problem. btw. this information is false, since it claims that only administrators have access to my data: |
Datas in this term are your files. The email address is also checked for sharing, so this is more of a general issue with a bigger impact on how all the things are handled and needs some more planing then a quick change on a setting |
Okay I just checked again and I was wrong. So I guess it boils down to the fact, that you registered (on a public instance) where "everyone on the cloud knows each other" is not a good sensitive default. |
cc @rullzer @MorrisJobke what do you think about this? |
hm my current workaround is to imho, users should indeed be able to share files with other users/groups (should be defined by admin) without seeing their email. |
Workaround untill next update of NC to set default mode of email to private FOR NEW USER-REGISTRATION. Edit in lib/private/Accounts/AccountManager.php self::PROPERTY_EMAIL =>
[
'value' => $user->getEMailAddress(),
'scope' => self::VISIBILITY_CONTACTS_ONLY,
'verified' => self::NOT_VERIFIED,
], to self::PROPERTY_EMAIL =>
[
'value' => $user->getEMailAddress(),
'scope' => self::VISIBILITY_PRIVATE,
'verified' => self::NOT_VERIFIED,
], This worked in my test-environment. But i also want to set the value for allready registered users.. so i update the value in the database "oc_accounts" via: This was not enough. mails are still shown.. so i dumped database before and after setting an email to private mode to diff them. and the result is, that email is also set in 'oc_cards' and 'oc_cards_properties' any idea? |
So.. no solution to set globaly mailadress hidden for allready registered users? |
issue still there and ignored in NC18. Workaround that "hides" the problem without breaking code integrity:
|
Since i'm not a coder.. how difficult is it to make this an option for config.php? |
A less intrusive approach that is not breaking the autocomplete is simply hiding the mail icon:
Still this is no real solution as the email address is still disclosed in the source code of the page. |
After digging deep into the model view controller ajax jquery stack I found this patch to close the data leak: In
EDIT: An even better patch is to edit
|
Is this a duplicate from #6582? |
not duplicate but related |
#20667 will provide a way to fix this with some |
The #CSS hack of @jamasi didn't worked for me, for I added the last part for talk support.
Still hopes the fix of @tcitworld gets embedded soon. |
Be aware that CSS hacks do not stop nextcloud from exposing the email addresses of the other users. instead this little patch seems to work for me: #14959 (comment) |
see #23172, requires adding a new option in core to hide these in the contacts menu |
cc @nextcloud/server-triage is this feasible? |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
I'd like this (or the duplicate bug report) to be reconsidered. |
I really don't mean to be toxic+offtopic, but this issue is a clear reason i stopped using nextcloud and use the former product and never considered using it again :-/ |
The issue is not fixed but made worse in Nextcloud 21. |
@szaimen I see you're able to add and remove tags here. Could you please consider removing the auto-close / stale tag? I think people just missed reacting to it. |
Ok.. this took me several hours.. intro: Here is my solution:
private function getServerProviderClasses() {
return [
// EMailProvider::class,
];
}
Now, the only shown mail-adresses are those, that are also shown in your contacts-app.
For example:
since i don't know the syntax to get the scope-info of the email-property, i just have a "concept" of this idea.. could anyone help-out for the syntax? $mailscope = AccountManager::PROPERTY_EMAIL['scope'];
shareWithDisplayNameUnique' => !empty($userEmail) && $mailscope !== PRIVAT ? $userEmail : $uid, @nickvergessen please reopen this issue, since it is very general and still unfixed. |
i am a little bit confused about the no-reaction.. it would be nice to get any feedback of others with the same problem.. and/or feedback of devs about this. i think i found a good solution that makes the mail-thingy GDPR/DSGVO-complient, where it never was. |
Please re-open, many people have asked this question or opened similar issues in the past. |
This is still an issue with the latest nextcloud version and this is a nightmare. Nextcloud is NOT useable in germany with this issue. Please add an option to disable the users email are visible by default. |
Still an issue for 23.0.12 at least. |
And still an issue on 25.0.10 |
Still an issue on 27.1.2 |
Is this fixed? |
@easyriders For the top bar, yes. However, when I enter the character '@' into the search field for 'sharing', I get to see everyone's mail address. |
Thanks for the answer. @Moini How did you fix it for the top bar and other places? |
I'm not sure. Is it not the default? |
I just set up a new Nextcloud instance, v29.0.9. I am shocked that leaking email addresses is still the default, both per installation and per user. I believe this should be a question in the setup assistant, while creating the admin account. Individual users have no way of disabling this. The "Private" setting is grayed out on the “Personal info” page. It states
Also, the Fortunately, there is a kill switch to stop leaking email addresses: under Administration settings » Sharing » Allow username autocompletion in share dialog and allow access to the system address book. It affects more than sharing: It also disables the top bar contact list from being populated. I couldn’t find any leaks for ordinary users. I am happy. 🙂 |
Steps to reproduce
Expected behaviour
Private data should not be revealed by default
Actual behaviour
Users mail adress is revealed to other users by default
Server configuration
LAMP, Ubuntu 18.04
Nextcloud version: 15.0.5
fresh installl since upgrade from OC failed
Where did you install Nextcloud from: Webclient
List of activated apps:
deactivated ALL Apps - same behavior
Nextcloud configuration:
Config report
The text was updated successfully, but these errors were encountered: