header-logo
Suggest Exploit
vendor:
Nanostation5
by:
Emanuele 'emgent' Gentili
7,5
CVSS
HIGH
Remote Command Execution
N/A
CWE
Product Name: Nanostation5
Affected Version From: AirOS all firmwares
Affected Version To: AirOS all firmwares
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2010

Ubiquity Nanostation5 (Air OS) 0day Remote Command Execution

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'.

Mitigation:

After some mail with Ubnt QA and Security Team people, the fixed firmware was released.
Source

Exploit-DB raw data:

# 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.