Perhaps this is a silly question (or likely a googleable one), but what’s Jetty?
It is an open-source, lightweight Java-based HTTP server and Servlet container.
I'm not especially worried about this specific issue (not that I want to start another debate about this, but if it were up to me, I'd prioritize OTP/2FA on the cloud registration account). But deliberate exposure isn't the only path. The link between a LAN device and its vendor cloud is outbound and on demand, so NAT and the firewall pass it by default. If that cloud or its update channel is compromised, the device can be turned against your own network from the outside, with no action on your part and nothing exposed inbound.
If you are feeling adventurous, you could join the beta and try out some new UI that lets you control which IPs / subnets can access the hub's admin interface (including 8081, after reboot).
We'd all have bigger issues if Hubitat's cloud were compromised.
Not only that, you said it yourself, a cloud call is outbound. Your firewall should be blocking anything unwanted inbound. So even though a device is making an outbound cloud call and info is passed outbound, unless there is an inbound path, that info is useless.
I wasn't referring to Hubitat's cloud. Most households have dozens of internet-enabled devices on the home LAN, most of which connect to vendor cloud services.
Except there is. Outbound is just how the connection is initiated. Once established, it becomes bidirectional. BTW this is why people advise putting IOT devices on their own VLAN: so that if they become compromised, they can't access the rest of your stuff.
If I am on your local network, the MAC address of the Hubitat is the least of your worries, I would own all your devices. Your WiFi screams its name publicly and you are likely running Windows, so inherently insecure, or an un-securable OS. Then there are consumer printers that never get patched for flaws. So Hubitat is not your biggest concern, port 8081 is not reachable from the internet, so a threat actor like myself would need to connect to your WiFi or plug into an Ethernet port to start a compromise concern. Your Smart devices that are always connected to the internet, such as LG tv's, (Google that privacy class action coming soon), and your lousy ISP router are likely much bigger concerns for your home network security. I run my own not Xfinity bridge with my own NetGate firewall giving me more network visibility as well as great logging on all my endpoints going to a SIEM for alerting and monitoring. Pick a decent WiFi password and you are way ahead of most home users. You can also turn off WiFi name broadcasting, or use a mesh like Eero and use their advanced security WiFi features. And/Or OpenDNS or Quad 9's for your DNS to block known bad web content. But yes, any auth like a MAC addresses without a password, better a passphrase is highly insecure. Oh, and don't forget to use a password manager like 1Password to make all internet passwords unique per website. If you can remember your password, it is a terrible password, worse, reusing passwords on the internet, guaranteed compromise of your ID. MFA and passphrases everywhere you can! And freeze your credit! Using a browser and opening URLs and attachments in email account for 90+% of home compromises. It would be nice to have Hubitat offer a syslog option and MQTT logging for us to be able to monitor the details like any auth or API internet connections.
Signed, a Cyber Security Expert.
Typically on established, known ports. So your firewall should be doing its job to block anything else.
i know but unfortunately thats a pain in the ■■■ becuase then for instance unless you are also on that vlan with your phone you cannot access the iots app like camera app or thermostat app etc.
and dont
put your crypto key on one of your pcs so your friendly neighborhood north korean can steal your billions!!!!
By default, it is not, but It can be if one allows it to be.
by default other than the already discussed socket back in becuase of the outgoing initiation nothing is reacheable from the network with most people who are using nat unless they explicitly open the port and do port forwarding.
Well then that is begging for me to find it using NMAP scanning.. and pwnage will ensue. Don't ever do this.
If you are looking to remote into your Hubitat remotely, then use Chrome Remote Desktop, RealVNC or other secure remote access solution to a home PC to do this, or geek out and use a VPN tunnel, hopefully securely configured. Or pay for the Hubitat service and hope they don’t get hacked. I would not bet on them having the greatest web security.
agreed i use open vpn with no username password issued certs only
That's just firewall rules. Users can reach devices, devices can't reach other devices. I have a VLAN for quasi-trusted devices that deliberately interact (including Hubitat) and a VLAN for untrusted devices that get Internet only. (The latter is named "Swamp.")
@boer.jason The bottom line is this is unlikely to affect security in general as long as you are behind a nat and not being an idiot and port forwarding though your router or firewall. This is also unlikely to be a vector for any attack. Even looking at shodan.io there seems to only be 6 open hubitats on the net (with only 1 being in the United States) and that's because some idiot opened 22 trying to log into it. Again, I really wouldn't worry about it. As others have said, if they can see your hubitat's MAC, you have far more serious issues to worry about and clean up.
Or you have a guest Wi-Fi that is unrouted (seemingly the default for consumer APs). Anyone on that guest Wi-Fi can trivially get your hub's MAC address. Solution: don't let guest Wi-Fi have access to the rest of your network. Many people don't [know how to] do that.
The "authentication" via MAC address is extremely weak. I wish there was a better password set there.
I am wondering what a viable alternative would be that allows a user to recover from catastrophic failures. I think that is really the primary use case for the diagnostic tool. User set passwords and authentication methods have the possibility to be corrupted in the memory as well. To the best of my knowledge, there is no hardware "full" reset option. This leaves the potential to completely brick the hub if you lose the password, or something happens to how that password is saved. If it can be written to, it can become corrupted. So, a hardcoded, non losable authentication method that can be verified by the hardware is almost essential. (I am aware that even nonvolatile memory can become corrupted, but it is less likely to occur than with writeable memory)
Users can lose or forget their passwords. If the expectation is that they use password managers, or have a great memory is what is being proposed, why isn't there an equal expectation that they also just be responsible for protecting their home automation devices on their lan?
A potential solution could be a nonvolatile "super" password hard coded in each hub, maybe printed on the bottom of the hub itself. However, I can show you a few non retrievable S/N plates I have on equipment that have just faded over time.
In addition, with the local only control options, I would not consider cloud based 2FA or similar options a viable path either. There are situations where that may not be available, or wanted (for similar security concerns).
Another possibility might be to use the current network reset button with a short tap to enable the diagnostic menu for 120 seconds (not even sure this is possible), and then require the MAC, which would be useless at any other time.
However, a physical trigger alone breaks the use case for users managing remote properties via VPN. To solve this, developers could introduce a 'Persistent Diagnostic Access' toggle within the main UI. By default, the diagnostic port would remain locked until physically tapped. Remote administrators could explicitly opt-in to leave the port persistently open via the MAC credential, effectively shifting the LAN threat profile from a default platform vulnerability to an informed, user-managed configuration risk.
Would love to hear other thoughts on solutions that do not have the potential for breaking the intended purpose of the diagnostics page should something go wrong with the credentials needed to authenticate. I think it is always a trade off between usability for intended purpose and security. I don't think it's an issue with a few exceptions (someone operating rentals, the aforementioned visitors, etc).
maybe the password as well as mac..
and then a button fallback in case the password as well is not working..
also maybe the option to use or not use the password in addition to the mac so we have the choice to not accept the risk of the password not working.
Or maybe a password with the hardware button as a fallback if the password option gets corrupted or forgotten.