
Exploit RCE di Laravel. CVE-2018-15133
_ _ _
| | __ _ _ __ __ _ ___ ___ _ __ (_) _ __ | |_
| | / _` || '__| / _` |/ __| / __|| '__|| || '_ \ | __|
| |___ | (_| || | | (_| |\__ \| (__ | | | || |_) || |_
|_____| \__,_||_| \__,_||___/ \___||_| |_|| .__/ \__|
|_|
Autori: @pwnedshell & @rsgbengi
CVE-2018-15133 e può eseguire comandi remoti se un'app Laravel vulnerabile è esposta. Puoi inviare comandi e ottenere risposte come cat /etc/passwd. Ma puoi anche richiedere una shell, così ti fornisce una reverse shell. Ha alcune personalizzazioni degli argomenti, così puoi specificare quale tipo di reverse shell ottenere (bash o sh), quale linguaggio di reverse shell usare per recuperare la shell (php, bash, mkfifo, python...) o il metodo RCE di Laravel (1, 2, 3 o 4). Fornisce inoltre una buona interazione con la shell e riferimenti al trattamento della shell o alla privilege escalation su Linux.
git clone https://github.com/PwnedShell/Larascript pip3 install -r requirements.txt
larascript.py -h.usage: larascript.py [-h] -k APPKEY [-c COMMAND] [-m {1,2,3,4,5}] [-s {bash,python,perl,php,ruby,nc,mkfifo,lua,java}]
[-t {bash,sh}] [-p PORT] [-P LPORT] [-U LHOST]
url
whoami