So I’m minding my own business one day when my ISP sends a new router which I didn't ask for - it just turned up. After a brief inspection I notice it’s made by Huawei and promptly re-boxed it - the cell phone networks are removing Huawei equipment, so why are broadband companies pushing it?
Not long after that I get a letter from my ISP saying that they noticed I hadn’t used the new router and if I didn’t use it then I may lose broadband service... So, I decided to take a look at their router only to find TR-069 and UPnP are turned on by default and I raised these concerns on their forum:
Needless to say I’m a tin foil hat wearing person for refusing to use Huawei equipment and clearly should just plug in their router without a seconds thought. Currently I use OpenWrt for ADSL and I never did get an answer on their forum as to whether I would lose service if I continued to use it. It’s still working - always has.
Anyway some of the replies mentioned that it may be a switch from ADSL to VDSL, so I did some experimenting to find out why they were advising “Please connect your new router without delay to ensure you do not lose your broadband service.” Perhaps it is VDSL rather than ADSL.
At first I tried a Netgear D7000 as this supposedly had ADSL, ADSL2, ADSL2+ and also supported VDSL. Verdict: ADSL2+ is no faster than the current ADSL option in the OpenWrt router that I’m using. Sounds more like it’s capped at the ISP side. So then I started testing out VDSL with the D7000 - nothing, just wouldn’t connect. Okay, so now try the OpenWrt router - same, no connection. Conclusion: VDSL is not enabled on my line.
Then something weird happened.
You see in order to test the routers I had hooked them in to my PC direct -normally I have pfSense sitting in between them, but when you’re testing things you should always remove any other possibilities from any situation. So the network was just literally my PC connected to the OpenWrt router and the RJ11 cable to the phone socket (yes, with a filter). No WiFi running. I’m in the middle of running a speed test and the wesbsite declares it failed to run properly and then the router just restarted all by itself. Weird! However, I didn’t think anything of it as I was mucking about with the settings trying to get VDSL to work. Perhaps it was something I did, oh well never mind. Like I say just my PC, the OpenWrt router, the ADSL connection and no WiFi. Very weird.
The very next day (after I plug OpenWrt back in as the ADSL provider with pfSense getting a feed as “WAN” from OpenWrt) I notice a lot of strange connections appearing in the pfSense logs. They’re all 192.168.1.1:41656 attempting to connect to 192.168.1.255:4919 using UDP. (Yes, you’ve probably guessed where this is going). I don’t use the 192.168.1.1 range for private networking, I use the 10.0.0.1 range which is why it jumped out at me. So what’s going on?
Well after some investigating it turns out that port 4919 is rather special for OpenWrt - it’s a back door! You kids and your new fangled Hex 1337 (Leet) humour! There’s no way that any device should have been attached to the OpenWrt box using the 192 range. The only things connected are an RJ11 cable, one Ethernet as “WAN” to pfSense and the WiFi is switched off. This has to have come from my ISP! Surely not? Tin foil on stand by...
Later on I discover that there is a Failsafe mode which runs only for a short period of time during boot listening on port 4919 which happens to give password-less Root access with Telnet on the 192.168.1.1 range. That explains the sudden reboots for no reason then. So, why is this running on the OpenWrt router on the WAN? You know the RJ11 ADSL telephone connection? Only my ISP could have predicted the next IP address that I would get when the router rebooted as they are dynamically assigned every time you restart the router. It has to be from my ISP!
I get it that you might accidentally lock yourself out of your device and need to use this backdoor, but surely it could be made to run on LAN ports only. By exposing it to the WAN (RJ11 ADSL telephone connection) during boot you are temporarily allowing ISP’s an opportunity for accessing the router with Root privileges. Yikes!
Needless to say I’m not overly impressed and if it hadn’t been for pfSense then I would never have known.
Could you please remove Failsafe from the WAN port, or better yet just get rid of it / have the ability to turn it off without modifying code and compiling yourself. I mean, no password Root Telnet access..! Really???
You could argue they have the right to access equipment connecting to their network, but I doubt they would be best pleased if I took the same approach and accessed their network equipment as Root using my equipment, and besides they clearly tried to go beyond pfSense to access the devices on my network. That’s definitely crossing the line. Fortunately that didn’t happen.
Needless to say I have since flashed the router with a fresh copy of OpenWrt and reset pfSense as a precaution.
Please, please, remove Failsafe from the WAN / RJ11 port - they have no right accessing my equipment. I’m still in contract, but let’s just say I’ll be looking around at other ISP’s when the time comes.