[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <267683.91412.qm@web58715.mail.re1.yahoo.com>
Date: Fri, 12 Oct 2007 01:34:04 -0700 (PDT)
From: yearsilent <yearsilent@...oo.com>
To: rPath Update Announcements <announce-noreply@...th.com>,
security-announce@...ts.rpath.com, update-announce@...ts.rpath.com
Cc: full-disclosure@...ts.grok.org.uk
Subject: Re: rPSA-2007-0212-1 util-linux
could anybody explain this bug?
I saw the git diff:
- setuid(getuid());
- setgid(getgid());
+ if(setgid(getgid()) < 0)
+ die(EX_FAIL, _("umount: cannot set group id: %s"), strerror(errno));
+
+ if(setuid(getuid()) < 0)
+ die(EX_FAIL, _("umount: cannot set user id: %s"), strerror(errno));
+
not only root can do mount ? what condition could cause setuid failed ?
rPath Update Announcements <announce-noreply@...th.com> wrote:
rPath Security Advisory: 2007-0212-1
Published: 2007-10-08
Products: rPath Linux 1
Rating: Major
Exposure Level Classification:
Local Root Deterministic Privilege Escalation
Updated Versions:
util-linux=/conary.rpath.com@rpl:devel//1/2.12r-1.5-1
rPath Issue Tracking System:
https://issues.rpath.com/browse/RPL-1757
References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5191
Description:
Previous versions of the util-linux package contain mount and umount
utilities that do not correctly drop privileges, which may allow local
attackers to gain privileges via helper utilities (such as mount.cifs).
Copyright 2007 rPath, Inc.
This file is distributed under the terms of the MIT License.
A copy is available at http://www.rpath.com/permanent/mit-license.html
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
Content of type "text/html" skipped
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Powered by blists - more mailing lists