Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Sun
[Top] [All Lists]

RE: allowing ordinary users to open privileged ports

Subject: RE: allowing ordinary users to open privileged ports
Date: Tue, 14 Sep 2004 10:41:52 -0700
You know, I've often heard this statement (about SUID shell scripts being 
dangerous) without a good explanation -- too often the authoring citing 
"security concerns" for not explaining it (not that Brian did!)

For those who feel the same way, I found a reasonable explanation here:

http://www.faqs.org/faqs/unix-faq/faq/part4/section-7.html

It does a good job of covering PATH issues, timing issues and others.  Always 
good to understand exactly what type of attack one is defending against.

Cheers,
 - Mike Myers, Mike.Myers <at> nwdc.net


-----Original Message-----
From: Brian Parent [mailto:bparent@calvin.ucsd.edu]
Sent: Monday, September 13, 2004 10:29 AM
To: focus-sun@securityfocus.com
Subject: Re: allowing ordinary users to open privileged ports


I'm glad to hear that your method #2 presented other problems
which prevented you from using it.

Creating a setuid shell script creates a major security hole.
Local users with access to such a script can execute arbitrary
programs as the owner of the script (root in this case).


<Prev in Thread] Current Thread [Next in Thread>