vendor:
AirOS
by:
Pablo Rebolini
8,8
CVSS
HIGH
Arbitrary File Download & Remote Command Execution
264
CWE
Product Name: AirOS
Affected Version From: XM.v5.6-beta5.24359.141008.1753 - Build: 2435
Affected Version To: XM.v5.6-beta5.24359.141008.1753 - Build: 2435
Patch Exists: NO
Related CWE: N/A
CPE: o:ubnt:airos:5.6-beta
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Linux
2016
AirOS NanoStation M2 v5.6-beta Arbitrary File Download & Remote Command Execution
AirOS NanoStation M2 v5.6-beta is vulnerable to arbitrary file download and remote command execution. Valid credentials are required to exploit this vulnerability. The default factory user/passwd combination (ubnt:ubnt) is used in most of the devices. The vulnerability is present in the /usr/www/scr.cgi file which allows attackers to download arbitrary files and execute remote commands. The PoC for arbitrary file download is GET http://x.x.x.x/scr.cgi?fname=../../../../../etc/passwd%00&status= and the PoC for remote command execution is GET http://x.x.x.x/scr.cgi?fname=rc.poststart.sh;cat%20/etc/hosts%00&status=.
Mitigation:
Authentication should be enabled and strong passwords should be used. Access to the vulnerable file should be restricted.