SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Web Server/CGI)  >   Sun Java Web Proxy Server Vendors:   Sun
Sun Java System Web Proxy Server Buffer Overflows in 'sockd' Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1018130
SecurityTracker URL:  http://securitytracker.com/id/1018130
CVE Reference:   CVE-2007-2881   (Links to External Site)
Updated:  Jul 27 2007
Original Entry Date:  May 25 2007
Impact:   Execution of arbitrary code via network, Root access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 4.0.x prior to 4.0.5
Description:   A vulnerability was reported in Sun Java System Web Proxy Server. A remote user can execute arbitrary code on the target system.

A remote user can send specially crafted data to trigger any of several stack overflows in the 'sockd' daemon and execute arbitrary code on the target system. The code will run with the privileges of the target service (typically root user privileges).

The vendor was notified on March 20, 2007.

iDefense reported this vulnerability.

Impact:   A remote user can execute arbitrary code on the target system.
Solution:   Sun has issued a fixed version (4.0.5), available at:

http://www.sun.com/download/products.xml?id=4648dc96

Sun has also issued the following patches:

SPARC Platform

Sun Java System Web Proxy Server 4.0 with Service Pack 5 or later
Sun Java System Web Proxy Server 4.0 with patch 120981-12 or later

x86 Platform

Sun Java System Web Proxy Server 4.0 with Service Pack 5 or later
Sun Java System Web Proxy Server 4.0 with patch 120982-12 or later

Linux

Sun Java System Web Proxy Server 4.0 with Service Pack 5 or later
Sun Java System Web Proxy Server 4.0 with patch 120983-12 or later

HP-UX

Sun Java System Web Proxy Server 4.0 with Service Pack 5 or later

Windows

Sun Java System Web Proxy Server 4.0 with Service Pack 5 or later
Sun Java System Web Proxy Server 4.0 with patch 126325-02 or later

The Sun advisory is available at:

http://sunsolve.sun.com/search/document.do?assetkey=1-26-102927-1

Vendor URL:  sunsolve.sun.com/search/document.do?assetkey=1-26-102927-1 (Links to External Site)
Cause:   Boundary error
Underlying OS:   Linux (Any), UNIX (AIX), UNIX (HP/UX), UNIX (Solaris - SunOS), Windows (NT), Windows (2000)

Message History:   None.


 Source Message Contents

Date:  Fri, 25 May 2007 14:10:40 -0400
Subject:  iDefense Security Advisory 05.25.07: Sun Java System Web Proxy

Sun Java System Web Proxy Multiple Buffer Overflow Vulnerabilities

iDefense Security Advisory 05.25.07
http://labs.idefense.com/intelligence/vulnerabilities/
May 25, 2007

I. BACKGROUND

Sun Microsystems Inc's Java System is a collection of server
applications bundled together. One such server application included is
the Web Proxy Server. This software implements proxy services including
HTTP and SOCKSv5. For more information, visit the following URL.

http://www.sun.com/software/products/web_proxy/home_web_proxy.xml

II. DESCRIPTION

Remote exploitation of multiple stack-based buffer overflows in Sun
Microsystems Inc's Java System Web Proxy allows unauthenticated
attackers to execute arbitrary code with superuser privileges.

The problem specifically exists within the "sockd" daemon. This daemon
implements SOCKS proxy support for the Web Proxy product. Attackers can
cause a buffer overflow by manipulating certain bytes during protocol
negotiation.

III. ANALYSIS

Exploitation allows attackers to execute arbitrary code with the
privileges of the user running "sockd", typically root.

No authentication is required to trigger this vulnerability. The
attacker only needs the ability to open a session with the SOCKS
server.

The server runs under a watchdog process which will restart the server
in cases when it will fail. This allows attackers to repeatedly attempt
to exploit the issue.

IV. DETECTION

iDefense has confirmed the existence of this vulnerability using version
4.0.3 of Sun Java Web Proxy Server. Lab tests were performed on an x86
RedHat enterprise Linux machine. Previous versions, including products
released under the "Sun ONE" product line, are suspected to be
vulnerable.

V. WORKAROUND

Disabling the SOCKS proxy server will prevent exploitation of this
vulnerability. Additionally, employing firewalls to limit access to the
affected service will prevent untrusted users from exploiting this
vulnerability.

VI. VENDOR RESPONSE

Sun Microsystems has addressed these vulnerabilities in Sun Alert ID
102927. For more information visit the following URL.

http://sunsolve.sun.com/search/document.do?assetkey=1-26-102927-1

VII. CVE INFORMATION

A Mitre Corp. Common Vulnerabilities and Exposures (CVE) number has not
been assigned yet.

VIII. DISCLOSURE TIMELINE

03/20/2007  Initial vendor notification
03/22/2007  Initial vendor response
05/25/2007  Coordinated public disclosure

IX. CREDIT

The discoverer of this vulnerability wishes to remain anonymous.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

X. LEGAL NOTICES

Copyright  2007 iDefense, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDefense. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically,
please e-mail customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
 There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct,
indirect, or consequential loss or damage arising from use of, or
reliance on, this information.
_______________________________________________
To unsubscribe, go here:
http://www.idefense.com/mailman/listinfo/idlabs-advisories


 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC