lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
From: rcs at rshell.org (Guy Cohen)
Subject: suexec doesn't ignore links in safe_path

On Wed, Oct 02, 2002 at 02:26:30AM +0200, Niels Bakker wrote:
> * rcs@...ell.org (Guy Cohen) [Wed 02 Oct 2002, 02:14 CEST]:
> > suexec suppose to guard you from unprivileged programs (among other things),
> > by letting you configure a safe_path of execution. However, if a user is 
> > able to link, she can create a link to files outside of the safe_path and 
> > then execute them.
> 
> And if a user is allowed to install a program that will be executed by
> the web server, that program can be written equally well to just execute
> something in a different location.
> 
> In other words: your point?

Oh shit!

my point was:
if safe_path=/usr/local/bin and only program under that directory
are allowed to be executed by the user, and if there's also 'ln' in 
that directory user can link to any other executable in the system, and
run them.


but i completely forgot about file/dir permission

> 
> 
> 	-- Niels.
> 
> -- 
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.netsys.com/full-disclosure-charter.html

-- 
Unix Administration,       |      http://www.uadm.com
locally and remotely.      |      support@...m.com
Planning, installation,    |      Phone: 972-3-6201373
support & upgrades.        |      Location: Unrestricted

Powered by blists - more mailing lists