|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Solaris patchadd(1) (3) symlink vulnerabilty
From: Juergen P. Meier (jpm
CLASS.DE)Date: Wed Dec 20 2000 - 03:30:22 CST
- Next message: Perry E. Metzger: ""The End of SSL and SSH?""
- Previous message: Michal Zalewski: "Oracle WebDb engine brain-damagse"
- In reply to: Paul Szabo: "Re: Solaris patchadd(1) (3) symlink vulnerabilty"
- Next in thread: Juan M. Courcoul: "Re: Solaris patchadd(1) (3) symlink vulnerabilty"
- Next in thread: Matthew Potter: "Re: Solaris patchadd(1) (3) symlink vulnerabilty"
- Reply: Juergen P. Meier: "Re: Solaris patchadd(1) (3) symlink vulnerabilty"
- Reply: Juan M. Courcoul: "Re: Solaris patchadd(1) (3) symlink vulnerabilty"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Solaris /usr/sbin/patchadd is a /bin/ksh script.
The problem lies in the vulnerability of ksh.
However: Sun Microsystems does recommend to only install
patches at single-user mode (runlevel S). So no other
possibly malicious user can exploit this ksh behaviour.
at least after the ebay desaster we should have all learned
this lesson... ;)
Always do init S before applying solaris patches. (especially
if you do kernel or devicedriver patches, check your readme's).
Again: if you follow the Vendors recommendations, you are
not vulnerable.
cheers,
Juergen
On Tue, Dec 19, 2000 at 07:00:20PM +1100, Paul Szabo wrote:
> Jonathan Fortin <jfortin
REVELEX.COM> wrote:
>
> > When patchadd is executed, It creates a temporary file called
> > "/tmp/sh<pidofpatchadd>.1" , "/tmp/sh<pidofpatchadd>.2 ,
> > "/tmp/sh<pidofpatchadd>.3 and assigns them mode 666 ...
>
> I guess that patchadd is a "sh" script using the "<<" construct, this
> being an instance of the bug I reported recently:
>
> milan.maths.usyd.edu.au">http://www.securityfocus.com/templates/archive.pike?list=1&msg=200011230225.NAA19716
milan.maths.usyd.edu.au
>
> This is essentially the same as the tcsh bug fixed recently in other OSs.
>
> Paul Szabo - psz
maths.usyd.edu.au http://www.maths.usyd.edu.au:8000/u/psz/
> School of Mathematics and Statistics University of Sydney 2006 Australia
-- Juergen P. Meier email: jpmclass.de
- Next message: Perry E. Metzger: ""The End of SSL and SSH?""
- Previous message: Michal Zalewski: "Oracle WebDb engine brain-damagse"
- In reply to: Paul Szabo: "Re: Solaris patchadd(1) (3) symlink vulnerabilty"
- Next in thread: Juan M. Courcoul: "Re: Solaris patchadd(1) (3) symlink vulnerabilty"
- Next in thread: Matthew Potter: "Re: Solaris patchadd(1) (3) symlink vulnerabilty"
- Reply: Juergen P. Meier: "Re: Solaris patchadd(1) (3) symlink vulnerabilty"
- Reply: Juan M. Courcoul: "Re: Solaris patchadd(1) (3) symlink vulnerabilty"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]