High Risk Vulnerability in Java Web Start

July 3rd, 2007

John Heasman of NGSSoftware has discovered a high risk vulnerability
in Sun Microsystem’s Java Web Start that ships with the JRE and JDK
on Windows platforms.

The vulnerability affects the following version of Java Web Start:

Java Web Start in JDK and JRE 5.0 Update 11 and earlier
Java Web Start in SDK and JRE 1.4.2_13 and earlier

This vulnerability permits an untrusted Java Web Start application to
overwrite any file that can be accessed under the application user context.
This ultimately enables an untrusted application to break out of the
sandbox by modifying the user’s Java security policy.  An untrusted
application could be launched via a malicious web page.

Details
*******

The JNLP API defines a set of services that bypass the security sandbox
to enable some common client operations. The BasicService is used to
discover the application’s codebase. Then, the PersistenceService caches
content on the local hard drive, keyed to a URL that is relative to the
application’s base. The name/value pairs provided by the PersistenceService
are similar to browser cookies. The Java Web Start implementation honours
this legacy by naming the pairs “muffins”.

Arbitrary files can be written to due to a directory traversal flaw in the
PersistenceService.

Solution
********

This issue has now been resolved; further details are available at:

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

NGSSoftware Insight Security Research
http://www.ngssoftware.com
http://www.databasesecurity.com/
http://www.nextgenss.com/
+44(0)208 401 0070

Section Navigation


SC Awards 2008


SC Magazine Awards 2008

NGSSoftware wins 'Best Security Company'.

ITA 2008


2008 International Trade Awards

NGSSoftware named as South-East England regional winners at the 2008 International Trade Awards.

SLBA 2008


South London Business Awards 2008

David Litchfield named as 'Entrepreneur of the Year' at the South London Business Awards 2008.

Latest Vacancies

Experienced CLAS consultant

NGSSoftware are seeking an experienced CLAS consultant capable of writing Security Targets and Evaluation Work Plans for CTAS.

Please send us your CV or resume.

NGS Offices

NGS have offices located in London & St Andrews (UK) and Sydney (Australia).

NGS Consulting

Why do companies around the world – and around the corner – turn to NGS?

Discover what we could do for your business »

NGS Security Training

Find out why we have provided training to some of the world's most security conscious organisations.

Learn from the best!

We regularly present and speak at international security conferences throughout the world.

OWASP AppSec Europe 2008

AusCERT 2008

ITWeb Security Summit

Customer Testimonials

Read what some of our satisfied customers are saying about us.

NGS Publications

Web Application Hacker's Handbook

Oracle Hacker's Handbook

Database Hacker's Handbook

The Shellcoder's Handbook

SQL Server Security

Configuring IPCop Firewalls


CHECK