
Exploit de RCE para CVE-2018-14772
Este es un exploit PoC de ejecución remota de código para CVE-2018-14772, una vulnerabilidad que descubrí en la plataforma de intercambio de archivos pydio. Requiere credenciales de administrador de la aplicación pydio para funcionar. Puedes ejecutar el exploit de la siguiente manera:
$ python exploit.py -h
usage: exploit.py [-h] -t TARGET -u USERNAME -p PASSWORD -L LISTENER_IP -P
LISTENER_PORT [--payload PAYLOAD]
[*] exploit some pydio boxes (academically)
optional arguments:
-h, --help show this help message and exit
--payload PAYLOAD one of the pre-built reverse-shell payloads (1, 2, 3, 4,
or 5), or a custom command. keep in mind you can't use
the (") character as it breaks the injection
required arguments:
-t TARGET this is the target URI for the pydio instance..i.e.
http://127.0.0.1:31337/pydio/
-u USERNAME this is the username of the admin user
-p PASSWORD this is the password of the admin user
-L LISTENER_IP IP address to catch reverse shell on
-P LISTENER_PORT port to catch reverse shell on
Incluí algunos payloads de reverse shell listos para probar. Además, puedes usar comandos personalizados ad hoc. Ten en cuenta que el uso del carácter " romperá la inyección de comandos, por lo que debes trabajar alrededor de esa limitación.

encontrado en mi blog aquí