From: Peter.Mayne@cao.mts.dec.com (Peter Mayne)
Subject: Re: Possible VMS Security Flaws
Date: 1995/09/08 [thread overview]
Message-ID: <42oh1t$h5t@mrnews.mro.dec.com> (raw)
In-Reply-To: 42mta6$ikd@bud.peinet.pe.ca
In article <42mta6$ikd@bud.peinet.pe.ca>
dgahling@cycor.ca (Dan Gahlinger) wrote:
> For more than 10 years now (since 1982) I have known about a flaw
> in the VMS security. I have contacted DEC about it (several offices
> local to me) but they didn't seem interested. I last tested it
> about three years ago, and found the flaw is still present. I have
> also made requests to DEC several times about security enhancements,
> but they also did not seem interested in those. Perhaps the
> security system has changed, but if VMS still uses the RWED (SGUW)
> type security, then I'm sure the flaw will remain. Some portions of
> the flaws are just annoyances (although serious ones as they can
> lock the system admin out of the system) and others are security
> holes that system admins should be taking more seriously.
>
> I'll give you an example of what I'm talking about. In VMS, when
> you give access to a program, to run it, they need R and E flags at
> one of the four levels of security. However, this also means they
> can read, type, copy, rename, and move the file.
I just tried it. A .EXE with only E permission runs fine, but I can't
type it, copy it, or rename it. Renaming has required D permission for
at least five years (since v5?), and probably more.
> This is probably
> not what you want, it's certainly not acceptable to me.
Why? An example?
> For some
> utilities you don't want the user knowing which paths or files are
> being accessed, and you certainly dont want the user copying those
> files or moving or renaming them. (by moving or renaming I mean that
> with the R flag a user can rename the file from the directory it is
> in to their own home directory - thus moving it).
This is completely wrong.
> There's other
> weird stuff you can do but i've given too much of a hint to the more
> serious security flaws.
Except they aren't flaws, because what you say isn't correct. Please tell
us some more wierd stuff.
> One hint I can give system admins is a little trick I learned years
> ago, and that is, you can flag a DIRECTORY as E (without the R) and
> users can still run and read or write files IF they know the
> SPECIFIC file spec (complete). Wild cards will not work.
This is exactly what the documentation says should happen, so it's not
really a little trick.
> This way,
> you can dereference a sensitive EXE by having the users run it, but
> it runs a different program in the directory or even a completely
> different path. remember, with the R flag, the user can still copy
> the EXE so make sure the referenced EXE is not obvious.
But you don't need R permission to run a .EXE.
How do you define a "sensitive" .EXE? One that the users don't know the
name of, it seems? Security by obscurity isn't good security at all,
but it's not OpenVMS's fault when somebody tries to use it.
> I think it would be morally irresponsible of me to detail any more
> of the flaws in this medium, but if anyone wants to contact me via
> email I shall take the request into consideration. Maybe DEC will
> see this and ask me about my other ideas... :)
Maybe... please post some more. (See disclaimer below.)
Even if what you say above is true, and users can copy .EXE files, how
is that a security flaw?
PJDM
--
Peter Mayne
Digital Equipment Corporation (Australia)
Canberra, ACT
----
These are my opinions, and have nothing to do with Digital.
The truth is out there, but not necessarily in here.
next prev parent reply other threads:[~1995-09-08 4:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-09-07 4:00 Possible VMS Security Flaws Dan Gahlinger
1995-09-07 4:00 ` "Alan Winston - SSRL Admin Cmptg Mgr"
[not found] ` <42oa2p$pui@news.arc.nasa.gov>
1995-09-08 4:00 ` Bob Christenson
1995-09-13 4:00 ` N. Rieck
1995-09-11 4:00 ` Antonio Carlini
1995-09-11 4:00 ` Brian Reed
1995-09-08 4:00 ` Peter Mayne [this message]
1995-09-08 4:00 ` Jamie Hanrahan, Kernel Mode Systems
1995-09-09 4:00 ` Stephen Hoffman
1995-09-09 4:00 ` Possible VMS Security Flaws (NOT) Jasper Rees - Oxford University
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox