{"uuid": "34462044-6d6c-4582-8ac5-415d674774ef", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2005-1790", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/browser/ms05_054_onload.rb", "content": "{\"aliases\": [], \"arch\": \"\", \"author\": [\"Benjamin Tobias Franz\", \"Stuart Pearson\", \"Sam Sharps\"], \"autofilter_ports\": [], \"autofilter_services\": [], \"check\": false, \"default_credential\": false, \"description\": \"This bug is triggered when the browser handles a JavaScript 'onLoad' handler in\\n          conjunction with an improperly initialized 'window()' JavaScript function.\\n          This exploit results in a call to an address lower than the heap. The javascript\\n          prompt() places our shellcode near where the call operand points to.  We call\\n          prompt() multiple times in separate iframes to place our return address.\\n          We hide the prompts in a popup window behind the main window. We spray the heap\\n          a second time with our shellcode and point the return address to the heap. I use\\n          a fairly high address to make this exploit more reliable. IE will crash when the\\n          exploit completes.  Also, please note that Internet Explorer must allow popups\\n          in order to continue exploitation.\", \"disclosure_date\": \"2005-11-21\", \"fullname\": \"exploit/windows/browser/ms05_054_onload\", \"is_install_path\": true, \"mod_time\": \"2025-06-23 12:43:46 +0000\", \"name\": \"MS05-054 Microsoft Internet Explorer JavaScript OnLoad Handler Remote Code Execution\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"unknown-reliability\"], \"SideEffects\": [\"unknown-side-effects\"], \"Stability\": [\"unknown-stability\"]}, \"path\": \"/modules/exploits/windows/browser/ms05_054_onload.rb\", \"platform\": \"Windows\", \"post_auth\": false, \"rank\": 300, \"ref_name\": \"windows/browser/ms05_054_onload\", \"references\": [\"MSB-MS05-054\", \"CVE-2005-1790\", \"OSVDB-17094\", \"BID-13799\"], \"rport\": null, \"session_types\": false, \"targets\": [\"Internet Explorer 6 on Windows XP\", \"Internet Explorer 6 Windows 2000\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:51:07.393194Z"}