sudo with sssd is slow due to blocked Global Catalog port

TL;DR When using AD as the ID provider in sssd, check whether the LDAP Global Catalog port 3688 (LDAPS 3689) is open.

There was a server in a new subnet where after I configured sssd, while Active Directory (AD) login initially worked, sudo was very slow not just for those AD users but also local users, with more than 20 seconds of delay before prompting for password. After a few months, AD login stopped working.

For slow sudo issue, I tried this workaround which disables group lookup, but that didn’t work because the AD groups relevant to that server weren’t large enough to make a difference.

After reaching out to Red Hat support who suggested to do a ldapsearch using port 3688, that’s where I noticed Global Catalog (GC) port 3688 was close. While waiting for the firewall to be configured, I disabled GC lookup in sssd.conf ad_enable_gc = False which fixed both AD login and sudo. After the port is open, I removed ad_enable_gc (since it’s enabled by default) and the previous workaround, AD login and sudo still working fine.

read more

OpenSSH password authentication bypass CVE-2026-123158 in OpenWRT

OpenWRT’s default SSH server daemon is dropbear which may not be vulnerable to the password authentication bypass flaw CVE-2026-123158 exploitable in OpenSSH <10.6_p2.

OpenWRT openssh-server package <10.6_p2 is vulnerable because OpenWRT uses musl libc and the package is built without PAM. At least both of these two conditions are required to be exploited. Check if the package is installed apk list --installed openssh-server, if so, update it to 10.6_p2.

apk update
apk add openssh-server

If update is not available due to offline environment or end-of-life OpenWRT version, a mitigation is to disable SSH password authentication, which is highly recommended even when using dropbear. This does not affect password authentication in LuCI web portal http://192.168.1.1.

read more