Find anonymous LDAP binds
ProprietaryFinds JNDI environments that set Context.SECURITY_AUTHENTICATION to none or anonymous, which binds to the LDAP server without credentials and lets anyone read or modify the directory. Search only: the bind DN and password a fix needs are not present in source, and switching to simple alone leaves the bind unauthenticated.
org. openrewrite. java. security. search. FindAnonymousLdapBindmod run . --recipe= org. openrewrite. java. security. search. FindAnonymousLdapBindInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.