Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Unifi Fiberhome SR1041F backdoor root ssh access, Don't open port 80 on WAN side

views
     
Jjuggler
post Oct 30 2023, 02:16 PM

Narcissistic Genius
******
Senior Member
1,337 posts

Joined: Dec 2016
QUOTE(whirleyes @ Oct 29 2023, 10:54 PM)
Fiberhome Router SR1041F RP0105 ssh root backdoor

It is possible to login ssh as root user by exploiting remote code execution vulnerability
https://gist.github.com/whirleyes/c664c33ff...2c1446f2a97abb9 and backdoor factory access mode in dropbear

Pre-authentication remote code execution allows anyone without logged in to send commands to the operating system as the root user.

Thus, opening WAN port 80 could be unsafe for your network.


This scenario involves a sequence of commands:
1. Enable factory mode
2. Remove root password
3. Restart dropbear (allow no password and use /var/passwd instead of /var/dropbear_passwd)
4. Open firewall

SSH root backdoor execution
https://gist.github.com/whirleyes/7916c5cd0...5aaceb2f50f837c

Done submitting CVE.
*
Mate, I just scanned through your github rep and the details presented. Great job there mate. Keep up the good work. thumbup.gif
Jjuggler
post Oct 30 2023, 06:09 PM

Narcissistic Genius
******
Senior Member
1,337 posts

Joined: Dec 2016
QUOTE(whirleyes @ Oct 30 2023, 06:04 PM)
Learn so much from this https://techdator.net/fiberhome-devices-has...p-a-new-botnet/

I don't think they will release firmware update anytime soon.
Best is to spread awareness, else it could be another Gwmndy botnet victim

My intention is just to get root access so I can proceed with building OpenWrt image for this device.
or at least can make some tweak to the original firmware.
*
Great share mate. I will read through the article at night.

 

Change to:
| Lo-Fi Version
0.0116sec    0.42    6 queries    GZIP Disabled
Time is now: 27th November 2025 - 04:49 PM