* dop bug?
@ 1997-03-05 5:00 Paul D. Chapin
1997-03-04 5:00 ` Nikos George
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Paul D. Chapin @ 1997-03-05 5:00 UTC (permalink / raw)
I just received a warning message claiming that there is a security
bug in /usr/sbin/dop. Has anybody else heard of this? Does anybody
know what dop is suppose to do?
--
Paul Chapin
Unix Systems Manager I'm too busy to have time
Amherst College for anything important.
413-542-2144
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: dop bug? 1997-03-05 5:00 dop bug? Paul D. Chapin @ 1997-03-04 5:00 ` Nikos George 1997-03-04 5:00 ` Steve VanDevender 1997-03-05 5:00 ` Paul D. Chapin 2 siblings, 0 replies; 8+ messages in thread From: Nikos George @ 1997-03-04 5:00 UTC (permalink / raw) In article <331d1f55.0@amhnt2.amherst.edu>, Paul D. Chapin <pdchapin@unix.amherst.edu> wrote: >I just received a warning message claiming that there is a security >bug in /usr/sbin/dop. Has anybody else heard of this? Does anybody >know what dop is suppose to do? It's valid (the bug)!. I couldn't find any reference for dop. It looks lile a Tcl binary though. Anybody else?? /Nikos ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dop bug? 1997-03-05 5:00 dop bug? Paul D. Chapin 1997-03-04 5:00 ` Nikos George @ 1997-03-04 5:00 ` Steve VanDevender 1997-03-06 5:00 ` Paul D. Chapin 1997-03-05 5:00 ` Paul D. Chapin 2 siblings, 1 reply; 8+ messages in thread From: Steve VanDevender @ 1997-03-04 5:00 UTC (permalink / raw) pdchapin@unix.amherst.edu (Paul D. Chapin) writes: > I just received a warning message claiming that there is a security > bug in /usr/sbin/dop. Has anybody else heard of this? Does anybody > know what dop is suppose to do? I don't know what /usr/sbin/dop is supposed to do, but there is a trivial shell script that exploits it to allow any unprivileged user to get a root shell. Remove the setuid bit from dop immediately with "chmod u-s /usr/sbin/dop"; it can't be _that_ important to your system. -- Steve VanDevender stevev@hexadecimal.uoregon.edu http://jcomm.uoregon.edu/~stevev "bash awk grep perl sed df du, du-du du-du, vi troff su fsck rm * halt LART LART LART!" -- the Swedish BOFH ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dop bug? 1997-03-04 5:00 ` Steve VanDevender @ 1997-03-06 5:00 ` Paul D. Chapin 0 siblings, 0 replies; 8+ messages in thread From: Paul D. Chapin @ 1997-03-06 5:00 UTC (permalink / raw) : pdchapin@unix.amherst.edu (Paul D. Chapin) writes: : > Does anybody know what dop is suppose to do? To answer my own question in part, I was playing around with the Tools item which is in the System Admin folder of DEC's application manager, and when I double clicked on the System Messages icon, I got an error message telling me /usr/sbin/dop couldn't execute, which is reasonable since I had removed the execute bits. -- Paul Chapin Unix Systems Manager I'm too busy to have time Amherst College for anything important. 413-542-2144 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dop bug? 1997-03-05 5:00 dop bug? Paul D. Chapin 1997-03-04 5:00 ` Nikos George 1997-03-04 5:00 ` Steve VanDevender @ 1997-03-05 5:00 ` Paul D. Chapin 1997-03-04 5:00 ` Paul Szabo 1997-03-05 5:00 ` John Meyers, Computing Services 2 siblings, 2 replies; 8+ messages in thread From: Paul D. Chapin @ 1997-03-05 5:00 UTC (permalink / raw) Paul D. Chapin (pdchapin@unix.amherst.edu) wrote: : I just received a warning message claiming that there is a security : bug in /usr/sbin/dop. Has anybody else heard of this? Does anybody : know what dop is suppose to do? This is fordUnix 4.0B. -- Paul Chapin Unix Systems Manager I'm too busy to have time Amherst College for anything important. 413-542-2144 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dop bug? 1997-03-05 5:00 ` Paul D. Chapin @ 1997-03-04 5:00 ` Paul Szabo 1997-03-11 5:00 ` Paul B. Henson 1997-03-05 5:00 ` John Meyers, Computing Services 1 sibling, 1 reply; 8+ messages in thread From: Paul Szabo @ 1997-03-04 5:00 UTC (permalink / raw) In article <331d1f55.0@amhnt2.amherst.edu> pdchapin@unix.amherst.edu (Paul D. Chapin) writes: > I just received a warning message claiming that there is a security > bug in /usr/sbin/dop. Has anybody else heard of this? Does anybody > know what dop is suppose to do? I do not know what dop is supposed to do. As a matter of principle, I had taken the setuid/setgid bits off all programs which I was not sure about (i.e. I only have them on where I know they are needed). No-one has ever complained about dop not working as expected. --- [ The email address is munged in the headers and in the lines below, in an ] [ attempt to avoid junk (spam) mail. Sorry about the inconvenience caused. ] --- Paul Szabo - System Manager // School of Mathematics and Statistics psz at maths . usyd . edu . au // University of Sydney, NSW 2006, Australia ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dop bug? 1997-03-04 5:00 ` Paul Szabo @ 1997-03-11 5:00 ` Paul B. Henson 0 siblings, 0 replies; 8+ messages in thread From: Paul B. Henson @ 1997-03-11 5:00 UTC (permalink / raw) : In article <331d1f55.0@amhnt2.amherst.edu> pdchapin@unix.amherst.edu (Paul : D. Chapin) writes: : > I just received a warning message claiming that there is a security : > bug in /usr/sbin/dop. Has anybody else heard of this? Does anybody : > know what dop is suppose to do? Here's the official word from DEC on the dop bug: --------------------------------------------------------------------------- ** NO RESTRICTIONS FOR DISTRIBUTION ** _______________________________________________________________________ PRODUCT: DIGITAL UNIX[TM] V4.0, V4.0A, V4.0B MARCH 6, 1997 TITLE: Division of Privilege (DoP) - Potential Security Vulnerability SOURCE: Digital Equipment Corporation Software Security Response Team/Colorado Springs USA "Digital is broadly distributing this Security Advisory in order to bring to the attention of users of Digital's products the important security information contained in this Advisory. Digital recommends that all users determine the applicability of this information to their individual situations and take appropriate action. Digital does not warrant that this information is necessarily accurate or complete for all user situations and, consequently, Digital will not be responsible for any damages resulting from user's use or disregard of the information provided in this Advisory." ---------------------------------------------------------------------- IMPACT: Digital has discovered a potential vulnerability with the Division of Privilege (DoP), "/usr/sbin/dop" for DIGITAL UNIX V4.0, V4.0A and V4.0B, where under certain circumstances, an unauthorized user may gain unauthorized privileges. Digital strongly recommends that the workaround be implemented immediately for any version affected, and that the appropriate patch kit be installed as soon as it becomes available. ---------------------------------------------------------------------- RESOLUTION: This potential security issue has been resolved and an official fix for this problem will be made available beginning the 13th of March 1997. As the patches become available per affected version, Digital will provide them through: o the World Wide Web at the following FTP address: ftp://ftp.service.digital.com/public/ the sub directory Digital_UNIX, key identifier SSRT0435U Note: [1]The patch kits mentioned above will be replaced in the near future through normal patch release procedures. [2]The appropriate patch kit must be reinstalled following any upgrade beginning with V4.0 up to and including V4.0b. ---------------------------------------------------------------------- TEMPORARY WORKAROUND: Prior to receiving the official patch for this fix, a temporary workaround for this problem is to clear the setuid bit from the /usr/sbin/dop command as follows: # chmod 0 /usr/sbin/dop This temporary workaround will resolve the security issue, but will also defeat DoP's purpose. See "ADDITIONAL COMMENTS" below for the purpose of DoP, the effect of using this temporary workaround, and what to do as a solution while using this temporary workaround. ---------------------------------------------------------------------- ADDITIONAL COMMENTS: The DoP command is used to provide non-root users with the ability to enter the root password to access the graphical system management applications via the CDE application manager or the Host Manager. When a non-root user attempts to execute a system management application through one of these applications, the user will be prompted with a password dialog. If the user enters the correct root password, they will gain root privilege while running the given application. If the setuid bit is cleared from /usr/sbin/dop, then users will not be able to access the system management applications from either the CDE application manager or the Host Manager. The following are workarounds to allow users to run the graphical system management applications with DoP disabled: [1] Log into a CDE session as root and access the system management applications. [2] If logged in as a normal user, become root in your preferred X-based terminal emulator (xterm, dxterm, dtterm, etc.) and run the graphical system management application via the command line. If you need further information, please contact your normal DIGITAL support channel. DIGITAL appreciates your cooperation and patience. We regret any inconvenience applying this information may cause. __________________________________________________________________ Copyright (c) Digital Equipment Corporation, 1995 All Rights Reserved. Unpublished Rights Reserved Under The Copyright Laws Of The United States. __________________________________________________________________ -- Paul Henson | System Administrator | Cal Poly Pomona | (909) 869-3781 pbhenson@csupomona.edu | finger henson@brick.dce.csupomona.edu for PGP key ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: dop bug? 1997-03-05 5:00 ` Paul D. Chapin 1997-03-04 5:00 ` Paul Szabo @ 1997-03-05 5:00 ` John Meyers, Computing Services 1 sibling, 0 replies; 8+ messages in thread From: John Meyers, Computing Services @ 1997-03-05 5:00 UTC (permalink / raw) In article <331d1f91.0@amhnt2.amherst.edu>, pdchapin@unix.amherst.edu (Paul D. Chapin) writes: > Paul D. Chapin (pdchapin@unix.amherst.edu) wrote: > : I just received a warning message claiming that there is a security > : bug in /usr/sbin/dop. Has anybody else heard of this? Does anybody > : know what dop is suppose to do? > > This is fordUnix 4.0B. > '/usr/sbin/dop' is actually part of the new graphical system management interfaces included with Dunix 4.0(x). There is a definite security hole in this executable which can be used to gain root access. Until a fix is available it's recommended that you change the mode to 755 or basically get rid of the setuid bit on it. There's a 5 or 6 line shell script circulating the net that will basically allow anyone to invoke a shell as root. John Meyers Computing Services E-Mail: jmeyers@wright.edu ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1997-03-11 5:00 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1997-03-05 5:00 dop bug? Paul D. Chapin 1997-03-04 5:00 ` Nikos George 1997-03-04 5:00 ` Steve VanDevender 1997-03-06 5:00 ` Paul D. Chapin 1997-03-05 5:00 ` Paul D. Chapin 1997-03-04 5:00 ` Paul Szabo 1997-03-11 5:00 ` Paul B. Henson 1997-03-05 5:00 ` John Meyers, Computing Services
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox