Locking down network Jetty considered risk


Due to the increase in automated network hacking I have done an audit using AI and Jetty on the Hubitat is a glaring risk that I can't do anything about.

Please expose an option to disable it.

Or explain what it is providing that makes it necessary to justify the risk to my network.

As I understand it is not part of the web interface and not part of the app interface but is a backdoor requiring only the MAC address that is default visible on my network.

There is a whole laundry list if nasty things I could do to myself with this interface there for any intruder could also.

Thanks.

Understand the threat profile has changed and I need justification for such a backdoor to exist.


Specifically the port 8081 needs to be able to be disabled or secured

You do realize that port 8081 is a standard web port, right? Hubitat uses that port with your Hub's IP address for it's diagnostic page. Have you tried opening that page to see what it is and does? It actually poses no risk unless you specifically expose it to the Internet.

IOT devices in my network need to not be able to not rampage freely.
Yes I know that it is not exposed externally but it should have at least a password to protect it from the internal access.

if you have private ips and you don't specifically open port 8081 in your router firewall there is no risk unless your network is compromised on another machine. use grc shields up to test access.

That is why it asks for your Hub's MAC address. It would be extremely difficult for someone to obtain that, unless they have physical access to your hub or your network is already compromised. Your concern is unfounded.

I think you mean IPs. :smiley:

Here is what I can see that might be a problem:

I read all of this from the tool's own UI strings in the public JS bundle β€” no login performed. Good news on one point: it confirms the MAC really is
the only credential. The password strings I saw in the bundle are PrimeVue library defaults (weak/medium/strong/passwordPrompt), not an actual password
field. The login is a MAC input validated by isHubMACValid, posted to /newLogin, with "Incorrect MAC" as the auth error.

What the page offers

  1. Login β€” MAC address field only.

  2. Read-only hub panel

  IP address Β· Hardware version Β· Platform version
  Diagnostics tool version Β· Cloud connection status
  Hub date/time vs. browser date/time
  1. Clock
  Set hub date and time        β†’  syncs the hub clock from your browser
  1. Backups
  Download backups / Download latest / Create and download
  A restore from local backup
  Skip backup                  β†’  (option shown during an upgrade)

This is downloadLatestBackup β€” your entire configuration, including integration credentials. If you set a backup passphrase, this is where the damage
gets contained.

  1. Firmware management
  Checking for the latest version…   β†’  Download latest version
  Select version                     β†’  Switching to version …
  Restore previous version           β†’  /api/switchVersion/hub-…
  Install platform / Extracting platform

Note "Restore previous version" β€” anyone with access can downgrade your firmware to an older build with known bugs, and the hub is offline while it
reflashes.

  1. Service control
  Restart in safe mode     β†’  boots with your apps disabled
  Shutdown hub             β†’  "It is safe to unplug the hub from your power source now."
  Reboot

Safe mode is the quiet one. It doesn't destroy anything, but it silently stops your automations β€” including whatever the 40 A switches are doing
on a schedule.

  1. Destructive β€” the ones that matter
  Reset Z-Wave radio
    "…will be reset and you will have to rejoin every Z-Wave device."

  Reset Zigbee radio
    "…will have to rejoin every Zigbee device."

  Full reset
    "All files on the hub will be deleted."
    "After the reset, your hub will shut down."
    "Full reset successful, the hub will shut down now."

Why the MAC-only login is the whole problem

The tool itself is legitimate β€” it's genuinely useful for firmware recovery, backups, and reflashing a bricked hub. The design flaw is narrow and
specific:

β”‚ The credential is an identifier the network broadcasts.

Everything in that list β€” including "All files on the hub will be deleted" β€” is gated behind a string that ip neigh prints for free. There's no rate
limiting worth mentioning, no lockout, no second factor.

That's precisely what your feature request should target. If you update the post, the sharpest framing is:

β”‚ The diagnostics tool authenticates with the hub's MAC address, which is retrievable from any LAN host's ARP cache without credentials. Either require
β”‚ a user-set credential or allow the tool to be disabled.

The hedge, again

Since this list includes "All files will be deleted," the encrypted backup isn't a nice-to-have β€” it's the difference between a bad afternoon and a
rebuild from scratch. Set the passphrase, keep a recent copy off-hub, and a full reset becomes a restore rather than a project.

Not correct.

Anyone on your local network can trivially get the MAC address of a device on the same LAN. Just 'ping' the device and then lookup with the 'arp' command (UNIX/Linux, Mac, Windows).

Years ago I pointed this out in a post about how insecure the "authentication" for the diagnostic page was. Bruce locked and then deleted the post.

This very topic should be locked and deleted and the discussion should be private with staff, IMO.

Fine with me if they fix it soon. But this needs a password ASAP.

Like?

What is the worst case scenario here?

Erase settings down grade firmware to a custom version use it as a base to exploit other devices on the network.

Control devices.

Did you read my full post? I specifically said "It would be extremely difficult for someone to obtain that, unless they have physical access to your hub or your network is already compromised."

And how would someone do this unless they already have access to your network, meaning your network is compromised? At that point if someone can access your Hubitat hub, you have bigger fish to fry.

Defense in depth.

This is the only device of the 32 on my network that I couldn't mitigate the risks for.

Not to minimize the security issue, but what are they going to do, turn off my lights? The risk seems very small here. They would have to know that you have the hub and that it is used to control smart devices.

There also has to be some reward for them to mess around. Turning on lights or stuff like that carries very little reward if they can't see the outcome. The chances of some hacker being right outside your house to watch the chaos and get their thrills are approaching zero.

I do believe security should be taken seriously, we don't want an LG situation here. But I do think you are amplifying the issue here a bit.

This should have been the first step, hopefully you did this and not just posted without giving staff a warning and a chance to fix this.

put it on a private vlan or guest wifi with no access from anything else in your net. obviously though then some wifi device will not work

If you are that concerned, remove cloud access to the hub and/or block inbound port 8081 on your firewall.

Should the diagnostics page be protected by something other the the hub's MAC address? Maybe. Is it a critical need to do so on a home based device, probably not. The odds of a Hubitat hub getting hacked on someone's home network are slim to none, unless someone is doing things they shouldn't be doing.

Yes adding a password other than the MAC is enough for my needs. Unfortunately probing the dark corners of a network is now easy and this should be hardened.

People doing things that shouldn't is only the small part of the problem AI driven attack is the real threat.

While there is some truth to this, the odds of it happening to the average home network are slim to none.

Again, as mentioned above, someone needs to go out of their way to expose their network enough so that it could be hacked.

And just to note. I don't know what AI you used to audit your network, but if it was anything Internet based, you've already exposed a bigger risk to your network doing that than anything else.