security problems with incorrect permissions for ubuntu 17.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dconf |
Fix Released
|
Medium
|
|||
gnome-session |
Fix Released
|
Medium
|
|||
d-conf (Ubuntu) |
Fix Released
|
High
|
Sebastien Bacher | ||
Bionic |
Fix Released
|
High
|
Sebastien Bacher | ||
dconf (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
gnome-session (Ubuntu) |
Fix Released
|
High
|
Sebastien Bacher | ||
Bionic |
Fix Released
|
High
|
Sebastien Bacher | ||
session-migration (Ubuntu) |
Fix Released
|
High
|
Didier Roche-Tolomelli | ||
Bionic |
Fix Released
|
High
|
Didier Roche-Tolomelli | ||
xorg-server (Ubuntu) |
Fix Released
|
High
|
Marc Deslauriers | ||
Bionic |
Fix Released
|
High
|
Marc Deslauriers |
Bug Description
The release of Ubuntu you are using (lsb_release -rd):
Description: Ubuntu 17.10
Release: 17.10
This is a fresh installation of Ubuntu 17.10 from the mini.iso.
I select only default options + [Ubuntu Desktop] installation.
What you expected to happen:
My home folder contains the following folders with correct and safe permissions after the first login:
drwx------ 11 user user 4096 Dec 2 17:40 .config
drwx------ 3 user user 4096 Dec 2 17:39 .local
What happened instead:
I received these folders after the first login:
drwxr-xr-x 11 user user 4096 Dec 2 17:40 .config
drwxr-xr-x 3 user user 4096 Dec 2 17:39 .local
It is not safe. Any user can access to my .config folders and read for example my mail databases
I'm trying to create a new user...:
sudo useradd -m user2
sudo passwd user2
... and login then.
It has the same problem:
drwxr-xr-x 10 user2 user2 4096 Dec 2 19:44 .config
drwxr-xr-x 3 user2 user2 4096 Dec 2 19:44 .local
Changed in d-conf (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in dconf: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in gnome-session: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in dconf (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: rls-bb-incoming |
tags: | removed: rls-bb-incoming |
Changed in gnome-session (Ubuntu): | |
assignee: | nobody → Sebastien Bacher (seb128) |
Changed in d-conf (Ubuntu): | |
assignee: | nobody → Sebastien Bacher (seb128) |
Changed in d-conf (Ubuntu Bionic): | |
status: | Triaged → Fix Committed |
Changed in gnome-session: | |
status: | Confirmed → Fix Released |
Changed in gnome-session (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in xorg-server (Ubuntu Bionic): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
importance: | Undecided → High |
status: | New → In Progress |
status: | In Progress → Fix Committed |
Changed in dconf: | |
status: | Confirmed → Fix Released |
no longer affects: | dconf (Ubuntu Bionic) |
Hell User2233, this is an intentional design choice to enable users to share with each other. If this isn't appropriate for your environment you can modify the DIR_MODE variable in /etc/adduser.conf to set the permissions as desired.
https:/ /help.ubuntu. com/lts/ serverguide/ user-management .html#user- profile- security
Thanks for reporting this issue, don't hesitate to report future issues.