Discussion Java4shell
Hey everyone,
im schocked: https://community.ui.com/questions/UniFi-OS-Server-5-1-42-bundles-Temurin-2536-is-it-affected-by-Java4Shell-CVE-2026-114938/aaa10ff6-dde4-453f-b999-cf637fbdf07b
No patches? Every unifi controller should be already compromised?!
15
Upvotes
7
u/TannerHill 19h 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
3
u/throwaway12-ffs 15h 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/WaHooCrazy7 13h 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
12
u/Obvious_Class394 18h ago
Yeah. They should address it promptly.
I can only think of a few ways to compromise a controller.
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.
3
u/planedrop 14h 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 19h ago
What does this affect?