home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / zines / n_z / nia056.hac < prev    next >
Encoding:
Text File  |  2003-06-11  |  7.5 KB  |  167 lines

  1.  ┌──────────────────┐ ╔═══════════════════════════════╗ ┌──────────────────┐
  2.  │   Founded By:    │ ║  Network Information Access   ║ │ -Other World BBS │
  3.  │ Guardian Of Time │─║            03OCT90            ║─│ -Txt Files Only! │
  4.  │   Judge Dredd    │ ║          Judge Dredd          ║ │ See EOF if any ? │
  5.  └────────┬─────────┘ ║            File 56            ║ └─────────┬────────┘
  6.           │           ╚═══════════════════════════════╝           │
  7.           │        ╔═════════════════════════════════════╗        │
  8.           └────────╢ CERT Advisory: NeXT System Software ║────────┘
  9.                    ╚═════════════════════════════════════╝
  10.  
  11.  
  12. Just got this today.  For all of you that have ran into NeXT software or
  13. are currently running it, enjoy.
  14.  
  15. ------------------------------------------------------------------------------
  16. CA-90:06                       CERT Advisory
  17.                   October 2, 1990
  18.                           NeXT's System Software
  19.  
  20. -----------------------------------------------------------------------------
  21. This message is to alert administrators of NeXT Computers of four
  22. potentially serious security problems.
  23.  
  24. The information contained in this message has been provided by David Besemer,
  25. NeXT Computer, Inc.  The following describes the four security problems,
  26. NeXT's recommended solutions and the known system impact.
  27.  
  28. ------------------------------------------------------------------------------
  29.  
  30.   Problem #1 DESCRIPTION:  On Release 1.0 and 1.0a a script exists in
  31.   /usr/etc/restore0.9 that is a setuid shell script.  The existence of  
  32.   this script is a potential security problem.
  33.  
  34.   Problem #1 IMPACT:  The script is only needed during the installation
  35.   process and isn't needed for normal usage.  It is possible for any
  36.   logged in user to gain root access.
  37.  
  38.   Problem #1 SOLUTION:  NeXT owners running Release 1.0 or 1.0a should  
  39.   remove /usr/etc/restore0.9 from all disks.  This file is installed by  
  40.   the "BuildDisk" application, so it should be removed from all systems  
  41.   built with the standard release disk, as well as from the standard  
  42.   release disk itself (which will prevent the file from being installed  
  43.   on systems built with the standard release disk in the future).  You  
  44.   must be root to remove this script, and the command that will remove  
  45.   the script is the following:
  46.  
  47.   # /bin/rm /usr/etc/restore0.9
  48.  
  49.                                     ---
  50.  
  51.   Problem #2 DESCRIPTION:  On NeXT computers running Release 1.0 or
  52.   1.0a that also have publicly accessible printers, users can gain
  53.   extra permissions via a combination of bugs.
  54.   
  55.   Problem #2 IMPACT:  Computer intruders are able to exploit this security
  56.   problem to gain access to the system.  Intruders, local users and remote
  57.   users are able to gain root access.
  58.  
  59.   Problem #2 SOLUTION:  NeXT computer owners running Release 1.0 or  
  60.   1.0a should do two things to fix a potential security problem.   
  61.   First, the binary /usr/lib/NextPrinter/npd must be replaced with a  
  62.   more secure version.  This more secure version of npd is available  
  63.   through your NeXT support center.  Upon receiving a copy of the more  
  64.   secure npd, you must become root and install it in place of the old  
  65.   one in /usr/lib/NextPrinter/npd.  The new npd binary needs to be  
  66.   installed with the same permission bits (6755) and owner (root) as  
  67.   the old npd binary.  The commands to install the new npd binary are  
  68.   the following:
  69.   
  70.   # /bin/mv /usr/lib/NextPrinter/npd /usr/lib/NextPrinter/npd.old
  71.   # /bin/mv newnpd /usr/lib/NextPrinter/npd
  72.       (In the above command, "newnpd" is the npd binary
  73.       that you obtained from your NeXT support center.)
  74.   # /etc/chown root /usr/lib/NextPrinter/npd
  75.   # /etc/chmod 6755 /usr/lib/NextPrinter/npd
  76.   
  77.   The second half of the fix to this potential problem is to change the  
  78.   permissions of directories on the system that are currently owned and  
  79.   able to be written by group "wheel".  The command that will remove  
  80.   write permission for directories owned and writable by group "wheel"  
  81.   is below.  This command is all one line, and should be run as root.
  82.   
  83.   # find / -group wheel ! -type l -perm -20 ! -perm -2 -ls -exec chmod  
  84.   g-w {} \; -o -fstype nfs -prune
  85.  
  86.                                     ---
  87.  
  88.   Problem #3 DESCRIPTION:  On NeXT computers running any release of the
  89.   system software,  public access to the window server may be a
  90.   potential security problem.
  91.  
  92.   The default in Release 1.0 or 1.0a is correctly set so that public access
  93.   to the window server is not available.  It is possible, when upgrading from
  94.   a prior release, that the old configuration files will be reused.  These
  95.   old configuration files could possibly enable public access to the window
  96.   server.
  97.  
  98.   Problem #3 IMPACT:  This security problem will enable an intruder to gain
  99.   access to the system.
  100.  
  101.   Problem #3 SOLUTION:  If public access isn't needed, it should be disabled.
  102.  
  103.   1. Launch the Preferences application, which is located in /NextApps
  104.   2. Select the UNIX panel by pressing the button with the UNIX
  105.      certificate on it.
  106.   3. If the box next to Public Window Server contains a check, click on
  107.      the box to remove the check.
  108.  
  109.                                     ---
  110.  
  111.   Problem #4 DESCRIPTION: On NeXT computers running any release of the
  112.   system software, the "BuildDisk" application is executable by all users.
  113.  
  114.   Problem #4 IMPACT:  Allows a user to gain root access.
  115.  
  116.   Problem #4 SOLUTION: Change the permissions on the "BuildDisk" application
  117.   allowing only root to execute it.  This can be accomplished with the
  118.   command:
  119.  
  120.   # chmod 4700 /NextApps/BuildDisk
  121.  
  122.   To remove "BuildDisk" from the default icon dock for new users, do the
  123.   following:
  124.  
  125.   1. Create a new user account using the UserManager application.
  126.   2. Log into the machine as that new user.
  127.   3. Remove the BuildDisk application from the Application Dock by dragging
  128.      it out.
  129.   4. Log out of the new account and log back in as root.
  130.   5. Copy the file in ~newuser/.NeXT/.dock to /usr/template/user/.NeXT/.dock
  131.     (where ~newuser is the home directory of the new user account)
  132.   6. Set the protections appropriately using the following command:
  133.         # chmod 555 /usr/template/user/.NeXT/.dock
  134.   7. If you wish, with UserManager, remove the user account that you created
  135.      in step 1.
  136.  
  137.   In release 2.0, the BuildDisk application will prompt for the root password
  138.   if it is run by a normal user.
  139.  
  140. -----------------------------------------------------------------------------
  141. CONTACT INFORMATION
  142.  
  143. For further questions, please contact your NeXT support center.
  144.  
  145. NeXT has also reported that these potential problems have been fixed in
  146. NeXT's Release 2.0, which will be available in November, 1990.
  147.  
  148. Thanks to Corey Satten and Scott Dickson for discovering, documenting, and
  149. helping resolve these problems.
  150.  
  151. -----------------------------------------------------------------------------
  152.  
  153.  
  154.                             Guardian Of Time
  155.                               Judge Dredd
  156.                       Ignorance, Theres No Excuse.
  157.                   For questions or comments write to:
  158.                    Internet: elisem@nuchat.sccsi.com
  159.                          ..!uunet!nuchat!elisem
  160.                            Fidonet: 1:106/69.0
  161.                                   or
  162.                              NIA FeedBack
  163.                              P.O. Box 299
  164.                        Santa Fe, Tx.  77517-0299        
  165.  
  166. [OTHER WORLD BBS]
  167.