Intel

AIKIDO-2024-10436

django-allauth is vulnerable to Improper Restriction of Excessive Authentication Attempts

Improper Restriction of Excessive Authentication Attempts Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Nov 8, 2024

42

Medium Risk

This Affects:

pythondjango-allauth
0.63.0 - 65.1.0
Fixed in 65.2.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a bruteforce attack due to the lack of enforcement of the 'settings.ACCOUNT_EMAIL_VERIFICATION_BY_CODE_MAX_ATTEMPTS' parameter. This issue arises because the number of attempts allowed for email account verification is not properly limited, allowing attackers to try many verification codes in a short amount of time.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

django-allauth is vulnerable to Improper Restriction of Excessive Authentication Attempts in versions 0.63.0 - 65.1.0.

How to fix this

Upgrade the django-allauth library to the patch version.