home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / hacking / general / cert0118.txt < prev    next >
Encoding:
Text File  |  2003-06-11  |  6.1 KB  |  162 lines

  1.  
  2. -----BEGIN PGP SIGNED MESSAGE-----
  3.  
  4. =============================================================================
  5. CERT(sm) Advisory CA-96.13
  6. Original issue date: July 9, 1996
  7. Last revised: August 30, 1996
  8.               Removed references to the advisory README file.
  9.  
  10.               A complete revision history is at the end of this file.
  11.  
  12. Topic: Vulnerability in the dip program
  13. - -----------------------------------------------------------------------------
  14.  
  15. The CERT Coordination Center has received several reports of exploitations of
  16. a vulnerability in the dip program on Linux systems. The dip program is
  17. shipped with most versions of the Linux system; and versions up to and
  18. including version 3.3.7n are vulnerable. An exploitation script for Linux
  19. running on X86-based hardware is publicly available. Although exploitation
  20. scripts for other architectures and operating systems have not yet been found,
  21. we believe that they could be easily developed.
  22.  
  23. The CERT Coordination Center recommends that you disable dip and re-enable it
  24. only after you have installed a new version. Section III below describes how
  25. to do that.
  26.  
  27. We will update this advisory as we receive additional information.
  28. Please check advisory files regularly for updates that relate to your site.
  29.  
  30. - -----------------------------------------------------------------------------
  31.  
  32. I.   Description
  33.  
  34.      dip is a freely available program that is included in most distributions
  35.      of Linux. It is possible to build it for and use it on other UNIX systems.
  36.  
  37.      The dip program manages the connections needed for dial-up links such
  38.      as SLIP and PPP. It can handle both incoming and outgoing connections.
  39.      To gain access to resources it needs to establish these IP connections,
  40.      the dip program must be installed as set-user-id root.
  41.  
  42.      A vulnerability in dip makes it possible to overflow an internal buffer
  43.      whose value is under the control of the user of the dip program. If this
  44.      buffer is overflowed with the appropriate data, a program such as a
  45.      shell can be started. This program then runs with root permissions on the
  46.      local machine.
  47.  
  48.      Exploitation scripts for dip have been found running on Linux systems for
  49.      X86 hardware. Although exploitation scripts for other architectures
  50.      and operating systems have not yet been found, we believe that they could
  51.      be easily developed.
  52.  
  53. II.  Impact
  54.  
  55.      On a system that has dip installed as set-user-id root, anyone with
  56.      access to an account on that system can gain root access.
  57.  
  58. III. Solution
  59.  
  60.      Follow the steps in Section A to disable your currently installed version
  61.      of dip. Then, if you need the functionality that dip provides, follow the
  62.      steps given in Section B.
  63.  
  64.      A.  Disable the presently installed version of dip.
  65.          As root,
  66.                 chmod 0755 /usr/sbin/dip
  67.  
  68.          By default, dip is installed in the /usr/sbin directory. Note that it
  69.          may be installed elsewhere on your system.
  70.  
  71.  
  72.      B.  Install a new version of dip.
  73.          If you need the functionality that dip provides, retrieve and install
  74.          the following version of the source code for dip, which fixes this
  75.          vulnerability. dip is available from
  76.  
  77. ftp://sunsite.unc.edu/pub/Linux/system/Network/serial/dip/dip337o-uri.tgz
  78. ftp://sunsite.unc.edu/pub/Linux/system/Network/serial/dip/dip337o-uri.tgz.sig
  79.  
  80.          MD5   (dip337o-uri.tgz) = 45fc2a9abbcb3892648933cadf7ba090
  81.          SHash (dip337o-uri.tgz) = 6e3848b9b5f9d5b308bbac104eaf858be4dc51dc
  82.  
  83.  
  84. - ---------------------------------------------------------------------------
  85. The CERT Coordination Center staff thanks Uri Blumenthal for his solution to
  86. the problem and Linux for their support in the development of this advisory.
  87. - ---------------------------------------------------------------------------
  88.  
  89. If you believe that your system has been compromised, contact the CERT
  90. Coordination Center or your representative in the Forum of Incident
  91. Response and Security Teams (FIRST).
  92.  
  93. We strongly urge you to encrypt any sensitive information you send by email.
  94. The CERT Coordination Center can support a shared DES key and PGP. Contact
  95. the CERT staff for more information.
  96.  
  97. Location of CERT PGP key
  98.          ftp://info.cert.org/pub/CERT_PGP.key
  99.  
  100. CERT Contact Information
  101. - ------------------------
  102. Email    cert@cert.org
  103.  
  104. Phone    +1 412-268-7090 (24-hour hotline)
  105.                 CERT personnel answer 8:30-5:00 p.m. EST
  106.                 (GMT-5)/EDT(GMT-4), and are on call for
  107.                 emergencies during other hours.
  108.  
  109. Fax      +1 412-268-6989
  110.  
  111. Postal address
  112.         CERT Coordination Center
  113.         Software Engineering Institute
  114.         Carnegie Mellon University
  115.         Pittsburgh PA 15213-3890
  116.         USA
  117.  
  118. CERT publications, information about FIRST representatives, and other
  119. security-related information are available for anonymous FTP from
  120.         http://www.cert.org/
  121.         ftp://info.cert.org/pub/
  122.  
  123. CERT advisories and bulletins are also posted on the USENET newsgroup
  124.         comp.security.announce
  125.  
  126. To be added to our mailing list for CERT advisories and bulletins, send your
  127. email address to
  128.         cert-advisory-request@cert.org
  129.  
  130.  
  131. Copyright 1996 Carnegie Mellon University
  132. This material may be reproduced and distributed without permission provided
  133. it is used for noncommercial purposes and the copyright statement is
  134. included.
  135.  
  136. CERT is a service mark of Carnegie Mellon University.
  137.  
  138.  
  139. This file: ftp://info.cert.org/pub/cert_advisories/CA-96.13.dip_vul
  140.            http://www.cert.org
  141.                click on "CERT Advisories"
  142.  
  143.  
  144. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  145. Revision history
  146.  
  147. Aug. 30, 1996  Removed references to CA-96.13.README.
  148.  
  149.  
  150.  
  151.  
  152. -----BEGIN PGP SIGNATURE-----
  153. Version: 2.6.2
  154.  
  155. iQCVAwUBMiTEbHVP+x0t4w7BAQE9CAQAvUU6roTvYG+pMzUiAsSKOKkzSCBgVFHr
  156. 3n90176UxogW8MDKjBoX7z3R3VXoAe2AG0zArQ5Kd4l0hYNqc7V/1LqxpaaiCL7o
  157. epz9xp402IofSLhkCuThjzgEJjJYEihJtFNLoy1SyYEk4j5c16PIey6RcEM+Izsc
  158. 30mQPwwP+Do=
  159. =VsOI
  160. -----END PGP SIGNATURE-----
  161.  
  162.