Remediate OWASP A07:2021 Identification and authentication failures

Proprietary

OWASP A07:2021 describes failures related to identification and authentication, including weak credential management, hardcoded credentials, session fixation, weak password requirements, and anonymous LDAP binds.

org.openrewrite.java.security.OwaspA07
mod run . --recipe=org.openrewrite.java.security.OwaspA07

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Find anonymous LDAP binds
  2. Find secrets
  3. Find hardcoded authentication credentials
  4. Find User.withDefaultPasswordEncoder() usage
  5. Find Spring Security configurations that disable session fixation protection
  6. Find insecure Spring Security RememberMe configuration
  7. Find weak password encoder strength
  8. Find long or disabled HTTP session timeout
  9. Find weak SSL/TLS protocols