Intel

AIKIDO-2025-10728

django-phone-verify 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 Oct 23, 2025

47

Medium Risk

This Affects:

pythondjango-phone-verify
0.1.0 - 3.1.0
Fixed in 3.2.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to brute force attacks due to insufficient protection against repeated SMS verification attempts. The patched version introduces comprehensive safeguards, including MAX_FAILED_ATTEMPTS (default: 5) to limit failed verification attempts before session lockout, MIN_TOKEN_LENGTH (default: 6) to enforce a minimum security code length, and a new failed_attempts field in the SMSVerification model with a migration for backward compatibility. These enhancements prevent automated attacks and improve the overall security of the verification process.

Who does this affect?

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

Background info

django-phone-verify is vulnerable to Improper Restriction of Excessive Authentication Attempts in versions 0.1.0 - 3.1.0.

How to fix this

Upgrade the django-phone-verify library to the patch version.