Identity Management / No "Remember Me" Opt Out Functionality
No "Remember me" opt out functionality is a vulnerability in web and API applications that have user authentication functionality. In particular, it refers to the inability for a user to opt out of the "Remember Me" option when logging in. This can open up the application to brute-force attacks by malicious actors attempting to gain unauthorized access to the application. This vulnerability is classified in the CWE directory as CWE-613: Insufficient Session Expiration and is included in the OWASP Top 10 list as A7: Insufficient Attack Protection.
This vulnerability can result in unauthorized access to the application or sensitive data. It can also lead to data leakage, which can harm the reputation of the application or business. A risk assessment should be performed to determine the threat level and identify appropriate countermeasures.
The best solution to this vulnerability is to ensure that users are able to opt out of the "Remember Me" feature when logging in. This can be done by adding a checkbox to the login form that allows users to opt out. Additionally, the “Remember Me” feature should have a limited expiration time, such as a week or a month, to ensure that the user will be prompted for their credentials again after the set expiration time.