[UNIX] OpenSLP Initscript Symlink Vulnerability

From: SecuriTeam (support_at_securiteam.com)
Date: 08/24/03

  • Next message: SecuriTeam: "[NEWS] Helix Universal Server Vulnerability (../../, Exploit)"
    To: list@securiteam.com
    Date: 24 Aug 2003 19:05:43 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      OpenSLP Initscript Symlink Vulnerability
    ------------------------------------------------------------------------

    SUMMARY

     <http://www.openslp.org> OpenSLP is "an implementation of the 'Service
    Location Protocol V2', an IETF standards track protocol that provides a
    framework to allow networking applications to discover the existence,
    location, and configuration of networked services in enterprise networks".

    There is symbolic link vulnerability in one of the initscripts provided
    with OpenSLP. The slpd.all_init file uses '/tmp/route.check' as a
    temporarily file in an unsafe manner.

    DETAILS

    Vulnerable systems:
     * OpenSLP version 1.0.11

    Since the slpd.all_init script is usually called by the root user (to
    start the service), an attacker could exploit this vulnerability to at
    least "reset" the content of any file in the system as soon as the "start"
    action is called. As a standard symlink vulnerability, all the attacker
    needs is to create a /tmp/route.check symlink pointing to a system file.

    Fortunately, the aforementioned initscript is not used by many vendors
    (only Conectiva, accordingly to a vendor-sec discussion). Debian
    distributes OpenSLP but uses another script.

    Vulnerable code:
    From the slpd.all_init file:
        ...
      TMP_FILE=/tmp/route.check
      ...
      ping ... > $TMP_FILE
      ...
      rm -f $TMP_FILE
      ...

    Vendor status:
    The OpenSLP maintainers and the people from vendor-sec were contacted on
    2003-Aug-07 and agreed on this disclosure date.

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:ademar@conectiva.com.br>
    Ademar de Souza Reis Jr..

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[NEWS] Helix Universal Server Vulnerability (../../, Exploit)"

    Relevant Pages

    • [UNIX] Trend Micro VirusWall Buffer Overflow in VSAPI Library
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... buffer overflow vulnerability in VSAPI library allows arbitrary code ... is called "vscan" which is set suid root by default. ... permissions and thus granted all local users the privilege to execute the ...
      (Securiteam)
    • [UNIX] SCO Multiple Local Buffer Overflow
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Local exploitation of a buffer overflow vulnerability in the ppp binary, ... allows attackers to gain root privileges. ...
      (Securiteam)
    • [NT] Microsoft Word 6.0/95 Document Converter Buffer Overflow (MS04-041)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... WordPad is "a word processing application that uses the MFC rich edit ... Remote exploitation of a buffer overflow vulnerability in Microsoft ... Microsoft Word format files into the Rich Text Format natively handled by ...
      (Securiteam)
    • [UNIX] Tikiwiki Command Injection and Arbitrary File Exposure Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Two security vulnerabilities have been recently discovered in Tikiwiki, ... Remote exploitation of an input validation vulnerability in Tikiwiki ... allows attackers to gain access to arbitrary files on the vulnerable ...
      (Securiteam)
    • [NT] Ipswitch Multiple Vulnerabilities (IMail IMAP LIST Command DoS, Collaboration Suite SMTP Format
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Ipswitch Multiple Vulnerabilities (IMail IMAP LIST Command DoS, ... Collaboration Suite SMTP Format String) ... Remote exploitation of a denial of service vulnerability in Ipswitch ...
      (Securiteam)