Remediate OWASP A07:2021 Identification and authentication failures
ProprietaryOWASP 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. OwaspA07mod run . --recipe= org. openrewrite. java. security. OwaspA07Install 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.
- Find anonymous LDAP binds
- Find secrets
- Find hardcoded authentication credentials
- Find
User.withDefaultPasswordEncoder()usage - Find Spring Security configurations that disable session fixation protection
- Find insecure Spring Security RememberMe configuration
- Find weak password encoder strength
- Find long or disabled HTTP session timeout
- Find weak SSL/TLS protocols