lp:~tyhicks/lightdm/guest-dir-perms

Created by Tyler Hicks and last modified
Get this branch:
bzr branch lp:~tyhicks/lightdm/guest-dir-perms
Only Tyler Hicks can upload to this branch. If you are Tyler Hicks please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Tyler Hicks
Project:
Light Display Manager
Status:
Merged

Recent revisions

2480. By Tyler Hicks

Explicitly set file mode when creating guest home directory

The fix for CVE-2017-7358 (bzr commit 2478) adjusted the guest home
directory creation to use mkdir in some instances. In those instances,
the home directory is world readable for a short amount of time before
tmpfs is mounted on top of the directory with a 700 file mode. There is
no information leak here since data isn't written to the directory
before the tmpfs mount occurs but it is best to ask mkdir to set the
file mode to 700 from the start.

Thanks to Alexander Peslyak (Solar Designer) for catching this mistake.

2479. By Launchpad Translations on behalf of lightdm-team

Launchpad automatic translations update.

2478. By Tyler Hicks

Detect existing malicious guest user home dirs

It was discovered that a local attacker could watch for lightdm's
guest-account script to create a /tmp/guest-XXXXXX file and then quickly
create the lowercase representation of the guest user's home directory
before lightdm could. This allowed the attacker to have control of the
guest user's home directory and, subsequently, gain control of an
arbitrary directory in the filesystem which could lead to privilege
escalation.

This patch fixes the issue by detecting failures in creating a directory
for the guest user's home directory. If the file (directory, symlink,
etc.) already exists at the path, mkdir will fail and the script will
exit. This means that it is still possible for a local user to carry out
a denial of service on the guest user login feature.

2477. By Launchpad Translations on behalf of lightdm-team

Launchpad automatic translations update.

2476. By Robert Ancell

Releasing 1.22.0

2475. By Robert Ancell

Allow guest sessions to talk to Mir (allowing unity8)

2474. By Launchpad Translations on behalf of lightdm-team

Launchpad automatic translations update.

2473. By Launchpad Translations on behalf of lightdm-team

Launchpad automatic translations update.

2472. By Launchpad Translations on behalf of lightdm-team

Launchpad automatic translations update.

2471. By Robert Ancell

Releasing 1.21.5

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:lightdm
This branch contains Public information 
Everyone can see this information.

Subscribers