Gentoo: 201201-15: ktsuss: Privilege escalation
Posted by Benjamin D. Thomas   
Gentoo Two vulnerabilities have been found in ktsuss, allowing local attackersto gain escalated privileges.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201201-15
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: High
    Title: ktsuss: Privilege escalation
     Date: January 27, 2012
     Bugs: #381115
       ID: 201201-15

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Two vulnerabilities have been found in ktsuss, allowing local attackers
to gain escalated privileges.

Background
==========

ktsuss is a simple, graphical version of su written in C and GTK+.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  x11-misc/ktsuss               <= 1.4                  Vulnerable!
    -------------------------------------------------------------------
     NOTE: Certain packages are still vulnerable. Users should migrate
           to another package if one is available or wait for the
           existing packages to be marked stable by their
           architecture maintainers.

Description
===========

Two vulnerabilities have been found in ktuss:

* Under specific circumstances, ktsuss skips authentication and fails
  to change the effective UID back to the real UID (CVE-2011-2921).
* The GTK interface spawned by the ktsuss binary is run as root
  (CVE-2011-2922).

Impact
======

A local attacker could gain escalated privileges and use the
"GTK_MODULES" environment variable to possibly execute arbitrary code
with root privileges.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

Gentoo discontinued support for ktsuss. We recommend that users unmerge
ktsuss:

  # emerge --unmerge "x11-misc/ktsuss"

References
==========

[ 1 ] CVE-2011-2921
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-2921
[ 2 ] CVE-2011-2922
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2011-2922

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 http://security.gentoo.org/glsa/glsa-201201-15.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2012 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5