The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Improper Restriction of Excessive Authentication Attempts vulnerabilities in an interactive lesson.
Start learningThere is no fixed version for devise-two-factor
.
This was deemed not a vulnerability.
Affected versions of this package are vulnerable to Improper Restriction of Excessive Authentication Attempts due to the lack of an account lockout mechanism. When combined with the Time-based One Time Password algorithm's (TOTP) inherent entropy limitations, an attacker can bypass the two-factor authentication protection by performing a brute-force attack.
Notes:
The attacker needs access to a user's username and password to exploit this vulnerability.
The user under attack would not necessarily know that their account has been compromised.
The maintainers will not release any fixes for this vulnerability. This library is open-ended by design and cannot solve this for all applications natively. It's recommended that any application leveraging Devise-Two-Factor implement controls at the application level to mitigate this threat.
Use the lockable strategy from Devise to lock a user after a certain number of failed login attempts. See https://www.rubydoc.info/github/heartcombo/devise/main/Devise/Models/Lockable for more information.
Configure a rate limit for your application, especially on the endpoints used to log in. One such library to accomplish this is rack-attack
.
When displaying authentication errors hide whether validating a username/password combination failed or a two-factor code failed behind a more generic error message.
Note: The CVE for this issue has been withdrawn and the project maintainers have clarified the expected behavior of the package and the ways to use it securely, given the attack vector described here.