
(CVE-2024-22263) Scanner per la scrittura arbitraria di file di Spring Cloud Dataflow
Solo per uso etico, qualsiasi attività dannosa o malevola non è consentita. È tua responsabilità.
CVE-2024-22263: Scrittura arbitraria di file in Spring Cloud Dataflow
██████╗██╗ ██╗███████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗
██╔════╝██║ ██║██╔════╝ ╚════██╗██╔═████╗╚════██╗██║ ██║ ╚════██╗╚════██╗╚════██╗██╔════╝ ╚════██╗
██║ ██║ ██║█████╗█████╗ █████╔╝██║██╔██║ █████╔╝███████║█████╗ █████╔╝ █████╔╝ █████╔╝███████╗ █████╔╝
██║ ╚██╗ ██╔╝██╔══╝╚════╝██╔═══╝ ████╔╝██║██╔═══╝ ╚════██║╚════╝██╔═══╝ ██╔═══╝ ██╔═══╝ ██╔═══██╗ ╚═══██╗
╚██████╗ ╚████╔╝ ███████╗ ███████╗╚██████╔╝███████╗ ██║ ███████╗███████╗███████╗╚██████╔╝██████╔╝
╚═════╝ ╚═══╝ ╚══════╝ ╚══════╝ ╚═════╝ ╚══════╝ ╚═╝ ╚══════╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝
By: SecureLayer7 (Zeyad Azima)
https://github.com/securelayer7/CVE-2024-22263_Scanner
usage: CVE-2024-22263.py [-h] [-t TARGET] [-p PORT] [-r REPONAME] [-n PACKAGENAME] [-v VERSION] [-f FILE]
Upload a package to the server.
optional arguments:
-h, --help show this help message and exit
-t TARGET, --target TARGET
The target to scan (e.g., http://192.168.1.1).
-p PORT, --port PORT The port on the target (default: 80).
-r REPONAME, --repoName REPONAME
The repository name (default: local).
-n PACKAGENAME, --packageName PACKAGENAME
The name of the package (default: ../../../poc).
-v VERSION, --version VERSION
The version of the package (default: 1.0.0).
-f FILE, --file FILE A file containing a list of targets to scan in the format "http://target,port".
-t o --target: Specifica l'URL del server di destinazione (es. http://192.168.1.1). Questa opzione viene utilizzata quando si esegue la scansione di un singolo target.
-p o --port: Specifica la porta sul server di destinazione (default: 80). Usa questa opzione per impostare una porta specifica per il server di destinazione.
-r o --repoName: Imposta il nome del repository in cui verrà caricato il pacchetto (default: local).
-n o --packageName: Imposta il nome del pacchetto (default: ../../../poc). Il nome del pacchetto è il percorso in cui vuoi scrivere il file..
Per scansionare un singolo target con una porta specifica:
python3 scanner.py -t http://192.168.1.1 -p 7577
Per scansionare più target da un file:
python3 scanner.py -f targets.txt
Il file targets.txt deve contenere righe nel seguente formato:
http://192.168.1.1,7577
http://192.168.1.2,8080
Per personalizzare il nome del repository, la versione del pacchetto e il nome del pacchetto: il nome del pacchetto è il percorso in cui vuoi scrivere il file.
python3 scanner.py -t http://192.168.1.1 -p 7577 -r customRepo -n customPackage -v 2.0.0

-v o --version: Imposta la versione del pacchetto (default: 1.0.0).
-f o --file: Specifica un file contenente un elenco di target da scansionare. Ogni riga del file deve seguire il formato http://target,port. Usa questa opzione per scansionare più target da un file.