r/UNIFI • • 15h ago

Discussion Java4shell

13 Upvotes

14 comments sorted by

7

u/TannerHill 15h ago

There is a fix already but it’s in Release Candidate for both Unifi OS Server and the Cloud Gateway lineups. Sadly I didn’t feel this was worth waiting for so I moved over ~300 firewalls out of the Official Release channel and into Release Candidate to get them patched ASAP

2

u/karno90 15h ago

They should bundle controller 10 with the fixed java. 11 is not primetime ready…

2

u/Future_Pianist9570 14h ago

There’s a release 9 hours ago but it doesn’t show for CVE-2026-114938

3

u/throwaway12-ffs 11h ago

Don't put your unifi controller on an untrusted network and you won't get compromised (at least it cuts down probability over 80%).

Unless you already have an attacker on your network.

-2

u/karno90 7h ago

And what to do if you manage hundred of clients with aps only? You have to cloud host - and not everyone got a cloudkey, public ip for firewalling etc? And second: I dont trust ubnt with their unifi.ui.com cloud reverseproxy - gilnet goodcloud ….
I asked years ago if you could can put low level htaccess infront of inform url and webui - this would harden the system the right way - but no answer.

2

u/throwaway12-ffs 6h ago

There are remote access solutions. Unifi is NEVER supposed to be on the internet. It's absolutely retarded for it to be.

1

u/Oompa_Loompa_SpecOps 5h ago

"the right way" is doing a lot of heavy lifting here

1

u/Square_Move_833 6h ago

Why are you remote managing clients that don't have cloudkey/public IPs behind a firewall?

It sounds like you should be upset with yourself.

2

u/WaHooCrazy7 9h ago

I ended up swapping out the Java runtime but had to build my own image to do it. Though I’m already coloring outside the lines by running uos server as a container on k8s. That being said it’s not great that they haven’t pushed a patch

2

u/karno90 7h ago

Docker and containers are the biggest… I wish they kept the deb-Package way of things

12

u/Obvious_Class394 14h ago

Yeah. They should address it promptly. 

I can only think of a few ways to compromise a controller. 

  1. You have a bad actor on your internal network. You have larger problems than a compromised controller if this is the case

  2. A user on your network does something dumb that ends up running some malicious script

  3. Admin exposes the interface to the public internet. Never do this. Might as well hang up a “please hack me” sign 

One action to take is to limit who can connect to port 443 on the controller. For example, an IoT VLAN probably has no reason to have access. 

Edit: I’m not even sure what on the controller uses Java. :shrug: Points should still be valid. 

1

u/mmcgrath 5m ago

> You have a bad actor on your internal network. You have larger problems than a compromised controller if this is the case

Its worth reminding everyone that if you work from home, and have a corporate standard build of some kind. You might have more users on your home network than you think...

3

u/planedrop 10h ago

You should never allow access to the Unifi controller GUI from any untrusted devices, yet alone networks. Guest networks, normal user endpoint networks, the public internet, etc... should not have access to poke at the GUI at all, this is pretty basic security best practice.

1

u/Future_Pianist9570 14h ago

What does this affect?