Riorey "RIOS" Hardcoded Password Vulnerability

2009.10.19
Risk: High
Local: No
Remote: Yes
CWE: CWE-255


CVSS Base Score: 10/10
Impact Subscore: 10/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Complete
Integrity impact: Complete
Availability impact: Complete

Title: Riorey "RIOS" Hardcoded Password Vulnerability Severity: High (Full root access to the device) Date: 07 October 2009 Versions Affected: RIOS 4.6.6 , 4.7.0 possibly others Discovered on: 25 July 2009 Vendor URL: www.riorey.com Author: Marek Kroemeke Overview: Riorey DDoS mitigation appliences (www.riorey.com) are vulnerable to taking a full control over affected devices via a hardcoded username and password used to create a SSH tunnel between the RView application and the device itself. Details: Riorey devices running affected "RIOS" versions have a hardcoded username and password that is then used by the RView software to connect on port 8022 in order to create a SSH tunnel. This allows the attacker to login as user 'dbuser' using the hardcoded password, and due to an old Linux kernel version used - escalate privilages through several vulnerabilities and eventually take the full control over the device. Additionally - the web interface advices the user to reset the admin password for security reasons, but the RView application still uses the hardcoded password in order to create the SSH tunnel which may result in a false sense of security. Proof of Concept: Open your favorite SSH client and use the following detials in order to login: port: 8022 username: dbadmin password: sq!us3r -- cut -- root@rioreyXXXXXXX dbuser # id uid=0(root) gid=0(root) groups=0(root) root@rioreyXXXXXXX dbuser # uname -a Linux rioreyXXXXXXX 2.6.16.6 #23 SMP Fri Oct 24 19:29:08 EDT 2008 x86_64 Dual-Core AMD Opteron(tm) Processor 1210 HE AuthenticAMD GNU/Linux -- cut -- Mitigation: Login to the device via SSH using the above details, and reset the password using the 'passwd' command. Vendor Contact: 30 July 2009 - Initial vendor contact 31 July 2009 - Vendor replies advising to use a firewall in front of the device 01 August 2009 - Vendor replies that next software release will address this problem, work in progress 09 August 2009 - Vendor sends an email confirming that it's not ready yet but will be by the end of the month 16 August 2009 - Confirmation about realease day of a patched version - 05 October 2009 07 October 2009 - Releasing the vulnerability report. _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/

References:

http://secunia.com/advisories/36971
http://packetstormsecurity.org/0910-exploits/riorey-passwd.txt
http://osvdb.org/58858


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top