Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] I think I have found a security bug
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
biznatch
Apprentice
Apprentice


Joined: 23 Jul 2004
Posts: 220
Location: Wichita, KS

PostPosted: Mon Sep 27, 2004 9:11 pm    Post subject: [SOLVED] I think I have found a security bug Reply with quote

Here is the deal, I have a user called backup. Backup is a normal user, except he has a SUID tar file used to backup the system. I discovered that anyone can remove the file owned by root if it was created with SUID tar. Is this a known problem (other than the fact that I am using SUID), or should I file a bug?

Code:
$ pwd
/home/backup

$ whoami
backup

 $ groups backup
users

$ ls -l
total 196
-rwsr-sr-x  1 root root 166320 Sep 27 15:54 tar
-rw-r--r--  1 root root  28022 Sep 27 15:58 test.tar

$ rm test.tar
rm: remove write-protected regular file `test.tar'? y

$ ls -l
total 168
-rwsr-sr-x  1 root root 166320 Sep 27 15:54 tar

_________________
While your waiting for your post to be answered, please help with unanswered posts.


Last edited by biznatch on Fri Oct 01, 2004 2:24 am; edited 1 time in total
Back to top
View user's profile Send private message
biznatch
Apprentice
Apprentice


Joined: 23 Jul 2004
Posts: 220
Location: Wichita, KS

PostPosted: Mon Sep 27, 2004 9:56 pm    Post subject: Reply with quote

Well see what they have to say.

https://bugs.gentoo.org/show_bug.cgi?id=65589
_________________
While your waiting for your post to be answered, please help with unanswered posts.
Back to top
View user's profile Send private message
swegener
Developer
Developer


Joined: 19 Jun 2004
Posts: 8
Location: Karlsruhe, Germany

PostPosted: Mon Sep 27, 2004 10:39 pm    Post subject: Reply with quote

See my comment I posted to the bug.
Back to top
View user's profile Send private message
biznatch
Apprentice
Apprentice


Joined: 23 Jul 2004
Posts: 220
Location: Wichita, KS

PostPosted: Thu Sep 30, 2004 8:20 pm    Post subject: Reply with quote

I was not aware of that. I feel dumb now.
_________________
While your waiting for your post to be answered, please help with unanswered posts.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum