[NT] Windows NT 4.0 with IBM JVM Denial of Service

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

  • Next message: SecuriTeam: "[TOOL] kses, PHP Based HTML Filter"
    To: list@securiteam.com
    Date: 24 Jul 2003 17:28:15 +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

    - - - - - - - - -

      Windows NT 4.0 with IBM JVM Denial of Service
    ------------------------------------------------------------------------

    SUMMARY

    A flaw exists in Windows NT 4.0's file name processing. The flaw can cause
    heap corruption to occur when a long string is passed to the file name
    functions. This results in the program calling the NT 4.0 file name
    processing functions to crash.

    One attack vector identified by @stake is through a Java servlet running
    on the IBM JVM. This class of problem highlights the Java platform's
    dependence on the correctness of the underlying operating system for its
    overall security. Java application developers should still bounds
    check-untrusted inputs that are passed to the underlying operating system
    API, such as file handling functions.

    DETAILS

    Vulnerable Systems:
     * Java 2 Runtime Environment, Standard Edition (build 1.3.0), Windows NT
    4.0

    A denial of service condition for IBM's Java 2 Runtime Environment can be
    triggered when passing a long string to the java.io.getCanonicalPath()
    function. Any application which passes user supplied data to the
    getCanonicalPath() function is potentially vulnerable.
     
    When passing a long string to java.io.getCanonicalPath() an access
    violation occurs in the Windows NT 4.0 ntdll.dll. This access violation
    causes the IBM JVM to core resulting in a Denial of Service. This seems to
    be due to a corruption of the heap.

    Vendor Status:
    Microsoft contacted by @stake: 05/14/2003
    Microsoft reproduced and verified: 06/10/2003

    Microsoft has issued a bulletin and a patch. More information is available
    at:
     <http://www.microsoft.com/technet/security/bulletin/MS03-029.asp>
    http://www.microsoft.com/technet/security/bulletin/MS03-029.asp

    Recommendation:
    Java developers should identify all occurrences and perform data
    validation where java.io.getCanonicalPath is used.

    NT 4.0 Administrators running servers that use Java servlets should
    consider installing the Microsoft supplied patch.

    CVE Information: CAN-2003-0525

    ADDITIONAL INFORMATION

    The information was supplied by <mailto:www.atstake.com> @stake

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

    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: "[TOOL] kses, PHP Based HTML Filter"

    Relevant Pages