back to article We asked 100 people to name a backdoored router. You said 'EE's 4GEE HH70'. Our survey says... Top answer!

A Wi-Fi router flogged by British mobile network EE has a hidden administration account with a hardcoded username and password – and is accessible via SSH. This root-level account, present in EE's 4GEE HH70 gateways, can be accessed by anyone on the local network, such as a malicious user or malware on a Wi-Fi-connected PC. …

  1. Anonymous Coward
    Anonymous Coward

    Negligence

    followed by incompetence.

    1. A.P. Veening Silver badge

      Re: Negligence

      I think it is the other way around, but the end result is the same.

  2. JJKing Silver badge
    Facepalm

    On the bright side.....

    At least they used non standard credentials.

    1. Danny 14 Silver badge

      Re: On the bright side.....

      i mean, noone tries root as an ssh username amiright?

  3. TonyJ Silver badge

    Jesus what idiocy is this?

    This is back to the days when all ISP supplied kit had the same crappy admin logins across the board.

    Nowadays, every one I see has a tag/label of some kind with these details - it's not a stretch to print another line for this should it be required...but....why is it required?

    And if you must have something like this, don't make it so easy to get that all you have to do is grep a file

    1. Evil Auditor Silver badge
      Stop

      And if you must have something like this...

      No. Just no.

  4. Dave K Silver badge

    Sometimes going public with these vulnerabilities is the only way to finally put some urgency into a fix. Really quite shocking how companies like EE drag their heels over these issues until they feel sufficient public pressure to fix them.

    1. Anonymous Coward
      Anonymous Coward

      To be fair to EE, they don't actually make the thing. But it's got their name on, so they are responsible for getting a fix.

      At a guess, I'd say they bought from the lowest bidder and are now getting the service they paid for.

      1. Anonymous Coward
        Anonymous Coward

        And to be equally as fair, they're supposed to assess the security of those devices before passing on the system to the customers.

        So they're both responsible for owning the fix, and for it getting out in the wild past their "testing" regime in the first place.

        It doesn't matter where you buy something from, your supposed to check its fit for purpose before putting your customers at risk using it, ok?

        1. ARGO

          "supposed to"

          And the last time a telco did that was....?

      2. JetSetJim Silver badge

        > To be fair to EE, they don't actually make the thing

        To be fair to EE, they (should have) wrote the requirements for the thing and sent it out to manufacturers RFx teams, who wrote compliance statements against each line item and then a £ amount at the bottom of the report. One of the requirements should have been to do this properly, but I guess they either didn't think this was important to be mandatory, or they didn't think of it.

        1. Anonymous Coward
          Anonymous Coward

          Banging your head on DOORS

          JetSetJim, "...they (should have) wrote the requirements..."

          Oh lookie. Another naive person that believes in Requirements Management. It's so cute.

          Allow me to explain why...

          Code is at least an order of magnitude denser than requirements prose. A given paragraph of Requirements 'Shall' poetry might result in just a small part of one line of code. So if you have 'a telehone book' worth of code, the associated Requirements bible should amount to an encyclopedia set of volumes spanning a meter of shelf. Nobody can afford this. Nobody, except perhaps the Flight Safety software on an aircraft.

          That's why the myth that is 'Software Design By Requirements' is so monumentally idiotic.

          Program Managers that insist on using this approach deserve to fail.

          (As noted above, please do use DOORS Requirements Traceability on Safety Critical systems. That's the sort of use-case where it's clearly worthwhile.)

          PS: DOORS is an IBM tool. When is the last time you saw huge volumes of fantastic code pouring out of IBM?

        2. Anonymous Coward
          Anonymous Coward

          "...they didn't think of it."

          Equally likely they thought of it, and possibly other "it" things they should do, followed by quickly realizing those "it" things cost time, money, etc., and since they only care about wringing the last bits of profit out of the thing, quickly discarded all concerns for "it".

    2. John Brown (no body) Silver badge

      "Really quite shocking how companies like EE drag their heels over these issues until they feel sufficient public pressure to fix them."

      Waddaya mean? According to EE, "We take all matters of security extremely seriously"

  5. Anonymous Coward
    Anonymous Coward

    What would happen

    If everyone who lives next door to an EE router logged in and set up a message to contact EE tech support. Just asking for a friend

    1. Anonymous Coward
      Anonymous Coward

      Re: What would happen

      Exploit only works from inside the home network, so you need SSID and password to do so. Of course a user already on that network getting a malicious web page or virus could have the SSH script run to exploit the router.

      1. Rajesh Kanungo

        Re: What would happen

        I have seen this argument used many times. The problem is you end up with a Maginot Line effect. Any compromised device on the network can be used to compromise the router. Plus there are ways for JS to initiate a login to the router. So badly implemented browser security can let that happen. The right way to do secure design and implementation is to have security well implemented in ALL components.

  6. Wellyboot Silver badge
    Facepalm

    Safety.

    >>>"It's important to note that for this vulnerability to be exploited, you need to have local access. So the risk of this being exploited is low."<<<

    Do these boxes also have WPS, WPA & WPA2 active by default as well? I'd suggest the low risk is down to being one of millions in the herd available for targetting.

    I think we can deduce that the EE equipment developers finders are Trotters Independant Trading co.

  7. Anonymous Coward
    Anonymous Coward

    How much are they paying Kevin Bacon?

    Obviously far, far too much or they would have sorted this by now but no...

    the words "Bringing home the bacon" keep coming into my mind for some reason.

  8. Lee D Silver badge

    I'm not suggesting that this is "secure", but if you're going to put in a default backdoor password (presumably to force firmware updates and the like, like cable operators do), then at least take ten seconds to come up with something that's not so bleeding obvious all you have to do is grep the firmware.

    Off the top of my head:

    Set the password to: A cryptographic hash of the device serial number/MAC address, salted with a secret salt that - should the worst happen - you can change and then re-password all the devices (you know what the serial number/MAC address is, it's then easy to work out what the password for any particular device should be and it should only be travelling over your own network, yes? And one password does not let you into every device. And if you do it right, even with a million passwords of a million devices out in the wild, someone shouldn't be able to work out the hash salt?).

    Just make sure that the salt is NOT stored on the devices themselves (literally just generate the hash and use that in your password file as the password for that device - hell "ASCIIfy it" or "hexadecimal" or something if you want a human-readable version of it).

    That's where I'd start with the absolute bare basics of "bodge job".

    If you want to do it properly... secure certificates. Gosh, if only we had those right? A client certificate on each device that can be unique and you can use for securing their update checks, and every device carries the public key of the certificate that you intend to use to connect to them and expect login.

    This way - you don't even need a password! Just a certificate (it might be an idea to passphrase it though). Ten minutes with OpenSSL (gosh, I wonder what kind of device would have to have OpenSSL installed by default anyway?) and every client can generate their own unique certificate to identify themselves, and you have a certificate at EE / whoever that can connect to any router to make it update. And you could even do things like replace that cert, revoke any compromised cert, pull that cert from the Internet when it changes, verify it against certificate stores, etc. etc. etc....

    It's almost like someone invented an infrastructure and encryption methods to support all this, and people added it into basic login / administration tools so you could use it, eh?

    A.K.A. SSH public-key-authentication.

    1. Danny 14 Silver badge

      it isnt necessary though. All commercial routers have a default password that is usually printed on a sticker. If an engineer is visiting then they can either use that or factory reset if the customer has changed it and forgotton. There is literally no need for any hardware to have a baked in root SSH credential.

  9. EnviableOne Bronze badge

    no longer EE

    its not EE its a BT subsidury

    Par for the course, BT will sit on their asses until forced to do something

  10. Mage Silver badge
    Black Helicopters

    you need to have local access

    I know a script on a web page can access the webpage of a router, which is why the default password should always be changed on ANYTHING on your LAN with a Web admin interface.

    Can a malicious browser script use SSH? I think not. Though I suppose it could install a program on your phone/tablet/PC etc that can?

    I use uMatrix and I also change all default passwords to "hard ones" (written in a securely kept address book, never removed from the premises) and have Java, PDFs and other things disabled in the Browser.

    Hard coded passwords are mental. Some are only activated by a physical reset button with factory reset, that's I suppose reasonable if your router isn't on a café or library publicly accessible shelf.

    1. sed gawk Silver badge

      Re: you need to have local access

      So can a browser hosted javascript use ssh, and thereby do drive-by-exploit ?

      My gut says maybe, and google threw this up https://github.com/billchurch/WebSSH2

      Which on poking around suggests no.. on the basis it's using a proxy thus the (ssh)network packets do not come from the client network.

      That said JS has arrays, and integers, so you should be able to craft appropriate packets, leaving only finding a way to inject the packet on the client network as an exercise for the reader..

  11. Spiz

    It's not difficult

    I worked at Nildram back in 2000-2001 and we were punting out Zyxel routers to customers as a replacement to the original Stingrays.

    Myself and a second-line technician were tasked with writing some software to preconfigure the routers with the connection details, and to make some other tweaks, so that the provisioning ladies could plug it in, run a script, box it up and ship it out.

    One of the first things we baked into the script was to change the default router password. Admittedly, to the same as their connection password but it was still not the default...

  12. adam payne Silver badge

    Hardcoded usernames / passwords in 2018, no just no.

  13. Anonymous Coward
    Anonymous Coward

    Virgin Media routers

    All virgin media routers seem to have a fixed default backdoor ip address on the local network that engineers can always get into , no matter what the local network IP address is set to

    1. Down not across Silver badge

      Re: Virgin Media routers

      They do. They also require login on that page to change anything. In theory, depending how buggy the code is. Without password all you see is various status pages.

      Default IP address != default password

      Sadly SH3 is JS hell, the previous ones at least had status pages that were easily readable with curl to build some automatic monitoring and statistics collection.

  14. Anonymous Coward
    Anonymous Coward

    Don’t urge, legislate.

    FFS

  15. EveryTime

    Really the risk is very limited.

    You need to be on the local network, the vent needs to be targeted at exactly the right angle, and the approach is guarded by laser cannon. Sure, it's a direct path to the core, but no one is going to find out about it anyway.

    1. K.o.R
      Thumb Up

      Gives a new meaning to "brute Force hacking".

  16. Jamie Jones Silver badge

    Alleged proposed src fix:

    10:59 (17) "/tmp" jamie@thompson% diff -u core.c.orig core.c

    --- core.c.orig 2016-09-19 14:58:21.432913000 +0000

    +++ core.c 2018-10-29 10:59:08.721366000 +0000

    @@ -15,2 +15,2 @@

    - const char *letmein = "oelinux123";

    + const char *letmein = "oelinux321";

  17. Anonymous Coward
    Anonymous Coward

    It has not been fixed...

    Just like to point out that this backdoor still exists in my EE4G router with the latest firmware...poor show really.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019