[UNIX] Java Virtual Machine Symlink Vulnerability (jpsock)

From: SecuriTeam (support_at_securiteam.com)
Date: 06/09/03

  • Next message: SecuriTeam: "[NEWS] mnoGoSearch Vulnerable to a Buffer Overflow Vulnerability (ul, tmplt)"
    To: list@securiteam.com
    Date: 9 Jun 2003 21:10:50 +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

    Latest attack techniques.

    You're a pen tester, but is google.com still your R&D team?
    Now you can get trustworthy commercial-grade exploits and the latest
    techniques from a world-class research group.

    Learn more at http://www.coresecurity.com/promos/sit_e1,
    or call 617-399-6980

    - - - - - - - - -

      Java Virtual Machine Symlink Vulnerability (jpsock)
    ------------------------------------------------------------------------

    SUMMARY

    The Java virtual machine is "the cornerstone of the Java and Java 2
    platforms. It is the component of the technology responsible for its
    hardware- and operating system- independence, the small size of its
    compiled code, and its ability to protect users from malicious programs".
    Java Virtual Machine stores temporary log files within the /tmp directory
    with a prefix of jpsock.**_* etc in an insecure manner.

    DETAILS

    Due to a vulnerability Java Virtual Machine creates the file
    "/tmp/jpsock.**_*" on startup. The existence and owner of the file is not
    checked prior to writing startup information to the file.

    Impact:
    Local users may create a symlink from an arbitrary file to
    /tmp/jpsock.**_*. When JVM is executed, the file pointed to by the symlink
    will be overwritten.

    This can and will be used to gain elevated privileges via symlink attack.

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:meme-boi@nothotmail.org>
    meme-boi.

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

    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] mnoGoSearch Vulnerable to a Buffer Overflow Vulnerability (ul, tmplt)"

    Relevant Pages