oss-sec mailing list archives

CVE request: libgnomesu privilege escalation


From: Sebastian Krahmer <krahmer () suse de>
Date: Mon, 30 May 2011 15:41:54 +0200

Hi,

The /usr/lib/libgnomesu/gnomesu-pam-backend suid binary which belongs
to the libgnomesu package is not checking setuid() return values.

As a result, two cooperating users, or users with access to guest,
cgi or web accounts can run arbitrary commands as root very easily.
Attacker just needs to 'su' to this account where he knows the password
from inside the second account and take care that enough zombie
processes exist at the target account.

A patch is attached in our bugzilla:

https://bugzilla.novell.com/show_bug.cgi?id=695627

-s

-- 

~ perl self.pl
~ $_='print"\$_=\47$_\47;eval"';eval
~ krahmer () suse de - SuSE Security Team

---
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany


Current thread: