[8464] in Info-AFS_Redistribution
RE: Can one find a mount point just knowing the volume name?
daemon@ATHENA.MIT.EDU (Neulinger, Nathan R.)
Thu Feb 8 13:01:39 2001
Message-Id: <F349BC4F5799D411ACE100D0B706B3BB3425A1@umr-mail03.cc.umr.edu>
From: "Neulinger, Nathan R." <nneul@umr.edu>
To: "'Stephen Joyce'" <stephen@physics.unc.edu>
Cc: "'Morris Strongson'" <mms@bnl.gov>, info-afs@transarc.com
Date: Thu, 8 Feb 2001 11:55:03 -0600
Mime-Version: 1.0
Content-Type: text/plain;
charset="ISO-8859-1"
Uh. That isn't the security hole.
How bout I create a file named "fred; pts adduser myuserid
system:administrators".
It's the same issue as user input from CGIs. You're trusting user input and
shouldn't be.
-- Nathan
> -----Original Message-----
> From: Stephen Joyce [mailto:stephen@physics.unc.edu]
> Sent: Thursday, February 08, 2001 11:53 AM
> To: Neulinger, Nathan R.
> Cc: 'Morris Strongson'; info-afs@transarc.com
> Subject: RE: Can one find a mount point just knowing the volume name?
>
>
>
> Well, I run the script unattended via a wrapper script which
> explicitly
> sets the path to a known value (in addition to some other
> tasks such as
> getting tokens, logging the output, etc). You're right it
> should probably
> explicitly call /usr/afsws/bin/fs though.
>
> On Thu, 8 Feb 2001, Neulinger, Nathan R. wrote:
>
> > > $vol = `fs lsmount $name`;
> >
> > I hope you don't plan on running that script with a user
> that has any
> > privileges as you've got a gaping security hole right there.
> >
> > -- Nathan
>
> Cheers,
> Stephen
> --
> Stephen Joyce
> Systems Administrator
> P A N I C
> Physics & Astronomy Department
> Physics & Astronomy
> University of North Carolina at Chapel Hill Network
> Infrastructure
> voice: (919) 962-7214
> and Computing
> fax: (919) 962-0480
http://www.panic.unc.edu