Debian: man-db multiple vulnerabilities

    Date05 Aug 2003
    Posted ByLinuxSecurity Advisories
    There are multiple vulnerabilities in suid install of man-db.
    - --------------------------------------------------------------------------
    Debian Security Advisory DSA 364-1                     This email address is being protected from spambots. You need JavaScript enabled to view it.
                              Matt Zimmerman
    August 4th, 2003               
    - --------------------------------------------------------------------------
    Package        : man-db
    Vulnerability  : buffer overflows, arbitrary command execution
    Problem-Type   : local
    Debian-specific: no
    CVE Ids        : CAN-2003-0620, CAN-2003-0645
    man-db provides the standard man(1) command on Debian systems.  During
    configuration of this package, the administrator is asked whether
    man(1) should run setuid to a dedicated user ("man") in order to
    provide a shared cache of preformatted manual pages.  The default is
    for man(1) NOT to be setuid, and in this configuration no known
    vulnerability exists.  However, if the user explicitly requests setuid
    operation, a local attacker could exploit either of the following bugs to
    execute arbitrary code as the "man" user.
    Again, these vulnerabilities do not affect the default configuration,
    where man is not setuid.
    - - CAN-2003-0620: Multiple buffer overflows in man-db 2.4.1 and
      earlier, when installed setuid, allow local users to gain privileges
      via (1) MANDATORY_MANPATH, MANPATH_MAP, and MANDB_MAP arguments to
      add_to_dirlist in manp.c, (2) a long pathname to ult_src in
      ult_src.c, (3) a long .so argument to test_for_include in ult_src.c,
      (4) a long MANPATH environment variable, or (5) a long PATH
      environment variable.
    - - CAN-2003-0645: Certain DEFINE directives in ~/.manpath, which
      contained commands to be executed, would be honored even when
      running setuid, allowing any user to execute commands as the
      "man" user.
    For the current stable distribution (woody), these problems have been
    fixed in version 2.3.20-18.woody.2.
    For the unstable distribution (sid), these problems have been fixed in
    version 2.4.1-12.
    We recommend that you update your man-db package.
    Upgrade Instructions
    - --------------------
    wget url
            will fetch the file for you
    dpkg -i file.deb
            will install the referenced file.
    If you are using the apt-get package manager, use the line for
    sources.list as given below:
    apt-get update
            will update the internal database
    apt-get upgrade
            will install corrected packages
    You may use an automated update by adding the resources from the
    footer to the proper configuration.
    Debian GNU/Linux 3.0 alias woody
    - --------------------------------
      Source archives:
          Size/MD5 checksum:      632 88f2a959f43f5315d0a806717efc0059
          Size/MD5 checksum:   106550 11c00b2f23ab67aecdb3a22483c9ece8
          Size/MD5 checksum:   516391 5021f8a23cba9b14df39aa06407baefb
      Alpha architecture:
          Size/MD5 checksum:   543394 1111c3763d4f237ea6d73fb2a03064b5
      ARM architecture:
          Size/MD5 checksum:   478414 e188ec3286cfcc8c8f987a90b080413b
      Intel IA-32 architecture:
          Size/MD5 checksum:   472766 1f93cf6f4cfeed221190ffb8dc7d60f7
      Intel IA-64 architecture:
          Size/MD5 checksum:   601548 e387151776a92d633bd9aad2c0412036
      HP Precision architecture:
          Size/MD5 checksum:   521056 7008ad4cbd4b0ee3b6d43c9cc552f5ab
      Motorola 680x0 architecture:
          Size/MD5 checksum:   467578 cd566e411a14c30ff3ee45261e864697
      Big endian MIPS architecture:
          Size/MD5 checksum:   516014 c5cb6f88eaf124fa43ea262441f82a05
      Little endian MIPS architecture:
          Size/MD5 checksum:   517142 cae6cd634af680723502e5571bb40ac3
      PowerPC architecture:
          Size/MD5 checksum:   493992 fb696ef74405d4b8f53cadf89180f48d
      IBM S/390 architecture:
          Size/MD5 checksum:   479112 0deef4a03421377c52befbc2bea5ed31
      Sun Sparc architecture:
          Size/MD5 checksum:   479184 c5f7de23038fc8d29db0475062a706fc
      These files will probably be moved into the stable distribution on
      its next revision.
    - ---------------------------------------------------------------------------------
    For apt-get: deb stable/updates main
    For dpkg-ftp: dists/stable/updates/main
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    Package info: `apt-cache show ' and
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    What do you think of the articles on LinuxSecurity?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    [{"id":"87","title":"Excellent, don't change a thing!","votes":"37","type":"x","order":"1","pct":51.39,"resources":[]},{"id":"88","title":"Should be more technical","votes":"10","type":"x","order":"2","pct":13.89,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"25","type":"x","order":"3","pct":34.72,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.