LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-27-2007, 12:22 PM   #1
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Rep: Reputation: 30
fork bomb in SLES9


Hi,
On my SLES9 server I ran a fork bomb:

#!/bin/bash
$0 && $0

The system freezes in a few seconds although I modified ulimit for max process, max open files etc.

Any idea how can I avoid this destructive problem on suse linux enterprize server 9?

it seems that ulimit doesn't work.

I tried this on many other distribution (FC, Slack etc) and ulimit solve the problem but not in SLES9?

Any ideas?

Thanks
 
Old 06-28-2007, 01:08 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
What's the difference between systems wrt kernel versions and ulimits?
 
Old 06-29-2007, 12:19 AM   #3
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
Hi,
I am very sorry but I don't really know what wrt is ...
 
Old 06-29-2007, 01:24 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by ddaas
Hi,
I am very sorry but I don't really know what wrt is ...
It's a short way of saying with respect to.
 
Old 06-29-2007, 11:34 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Soz for the TLA's :-]
 
Old 07-05-2007, 02:45 PM   #6
rg.viza
Member
 
Registered: Aug 2006
Posts: 74

Rep: Reputation: 15
Quote:
Originally Posted by ddaas
Hi,
On my SLES9 server I ran a fork bomb:

#!/bin/bash
$0 && $0

The system freezes in a few seconds although I modified ulimit for max process, max open files etc.

Any idea how can I avoid this destructive problem on suse linux enterprize server 9?

it seems that ulimit doesn't work.

I tried this on many other distribution (FC, Slack etc) and ulimit solve the problem but not in SLES9?

Any ideas?

Thanks
Are you running this fork bomb as root or another user? I could understand it if it worked in a root shell.

However if it works in any user shell, it's a serious vulnerability. Root should be able to destroy the system... Some would consider root being able to do it a vulnerability. I say if someone gets root on your box, you are done for anyway ; ) Running this script is nothing compared to rm -rf /

I'd report it to Novell. If Novell does nothing with it within a few months, post it on bugtraq.

-Viz
 
Old 07-06-2007, 12:29 AM   #7
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 474

Original Poster
Rep: Reputation: 30
Hi there,
I run it as a normal user not root.
I've tested it on 4 or 5 systems with the same result.

No one there has SLES9 to try it out?

SLES9 is there for a long time and I dont't think that something like this could pass unnoticed.

SLES9 runs the default installation kernel (2.6.5.x).

Many thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fork bomb (again) ddaas Linux - Security 3 02-22-2007 12:51 PM
CMOS Bomb? joewee General 3 12-24-2006 01:04 PM
fork bomb namit Linux - Security 4 12-06-2005 04:48 PM
Debian's Fork Bomb Prevention / ULIMIT win32sux Debian 2 03-27-2005 10:57 PM
LINUX is the BOMB 69RocketGC LinuxQuestions.org Member Success Stories 1 01-12-2005 06:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration