[Bug 953340] Re: ldm 2.2.x (using wwm) contains a keybinding allowing the user to get a root shell

Launchpad Bug Tracker 953340 at bugs.launchpad.net
Mon Mar 12 22:37:58 UTC 2012


This bug was fixed in the package ldm - 2:2.2.4-0ubuntu1.1

---------------
ldm (2:2.2.4-0ubuntu1.1) oneiric-security; urgency=low

  * SECURITY UPDATE: root shell via default keyboard bindings (LP: #953340)
    - debian/patches/CVE-2012-1166.patch: Remove all keybindings in
      wwm/main.c.
    - CVE-2012-1166
 -- Marc Deslauriers <marc.deslauriers at ubuntu.com>   Mon, 12 Mar 2012 16:39:15 -0400

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ldm in Ubuntu.
https://bugs.launchpad.net/bugs/953340

Title:
  ldm 2.2.x (using wwm) contains a keybinding allowing the user to get a
  root shell

Status in “ldm” package in Ubuntu:
  Confirmed
Status in “ldm” source package in Natty:
  Fix Released
Status in “ldm” source package in Oneiric:
  Fix Released
Status in “ldm” source package in Precise:
  Confirmed

Bug description:
  Starting with ldm 2.2.x upstream switched to wwm as a minimal window
  manager for ldm, though it only recently was discovered that it ships
  with a keybinding allowing to spawn an xterm.

  As the ldm greeter runs as root, this essentially allows for a
  passwordless root shell to be spawned on any LTSP thin client since
  Ubuntu 11.04.

  While definitely quite bad, it's not horribly bad as all thin clients are booted from the network with their filesystem downloaded cleartext from the network, we already consider them as non secure machines to start with.
  The fix upstream is to turn off all the keybindings in wwm as it was meant to be from the beginning.

  I commited the bugfix upstream and we'll release a new version today
  for upload to Debian and sync into Precise.

  I'm going to provide two debdiffs in the next few minutes cherry-
  picking the fix for Ubuntu 11.04 and 11.10.

  For the record, the keybinding is KP_RETURN. Easiest way to trigger it
  is by doing alt+enter or switching to the second workspace (alt+2)
  then simply pressing enter.

  The original reporter for this security issue is "Tenho Tuhkala" with
  the bug tracked down and fixed by me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ldm/+bug/953340/+subscriptions




More information about the foundations-bugs mailing list