Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Linux

Advisory Analysis

Debian LightDM Vulnerability Allows Privilege Escalation

A privilege escalation vulnerability in Debian's LightDM display manager allows escalation from the lightdm user to root, with partial mitigation efforts underway.

LinuxOperating systemsVulnerabilities

Key points

  • A privilege escalation vulnerability in Debian's LightDM allows escalation from the lightdm user to root.
  • The issue is linked to shared GTK modules and potential code execution through unverified GtkModule origins.
  • A 2001-related proof of concept exists but is not directly applicable.
  • Partial mitigation includes removing a Debian-specific patch and adding an AppArmor profile.

A privilege escalation vulnerability in Debian's LightDM display manager has been addressed in Security Advisory 6633-1. The flaw allows escalation from the lightdm user to root, according to Debian Security Advisory 6633-1. The vulnerability was discovered by Matko Zlatić and is related to how GTK modules are shared across GTK greeters. Specifically, a GTK process may execute code under a different UID if GtkModule is not checked for origin. While the issue does not use $GTK_MODULES, it relies on Xsettings instead. The vulnerability was partially mitigated by removing a Debian-specific patch that moved USERS_DIR to /var/lib/lightdm. However, the issue remains unresolved due to LightDM running as root. As a hardening measure, an AppArmor profile was added to lightdm-gtk-greeter. A 2001-related proof of concept exists but is not directly applicable. The vulnerability requires community effort to fully resolve.

What to do

  1. Review and apply Debian Security Advisory 6633-1 to address the vulnerability.
  2. Ensure that the AppArmor profile for lightdm-gtk-greeter is properly configured.
  3. Monitor for updates related to full resolution of the vulnerability, as community effort is required.
  4. Evaluate whether additional hardening measures are needed for LightDM configurations.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

oss-securityseclists.org

“Local Privilege Escalation in Debian with LightDM and GTK greeters”

Posted by Yves-Alexis Perez on Nov 16 Hi there, I've just released Debian Security Advisory 6633-1 [0] fixing a local privilege escalation from the lightdm user to root in LightDM (a login manager, similar to GDM or KDM). Matko Zlatić actually found a whole escalation from currently logged in user to root (initially under Kali but it applies to Debian and Ubuntu as well). I'll let Matko chime in…

Also reported by

More on this topic