From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e7b4974e20302e99,start X-Google-Attributes: gid1164f8,public From: dgahling@cycor.ca (Dan Gahlinger) Subject: Possible VMS Security Flaws Date: 1995/09/07 Message-ID: <42mta6$ikd@bud.peinet.pe.ca>#1/1 X-Deja-AN: 109651466 to: All organization: Cycor Communications Inc. newsgroups: comp.sys.dec 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. This is probably not what you want, it's certainly not acceptable to me. 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). There's other weird stuff you can do but i've given too much of a hint to the more serious security flaws. 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 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. 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... :) I have been a long time DEC PDP and VAX user (since 1976) and have always loved the VMS operating system. I have spent several years at the administrative level of VAX operations (on 730, 750, 780, 782, 8600, MicroVax II, and MicroVax 2000). Dan. (dgahling@cycor.ca)