DRUPAL-CONTRIB-2025-028unknown
DRUPAL-CONTRIB-2025-028
The advisory, in context
This module enables users to log in using a short access code instead of providing a username/password combination.
The module doesn't sufficiently protect against brute force attacks to guess a user's access code.
This vulnerability is mitigated by the fact that access code based logins are off by default and only enabled for accounts that enable it. Sites could mitigate the issue without updating by:
- disabling the access code login method for critical accounts
- monitor and prevent brute force attacks in other ways (for example, with a Web Application Firewall)
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
drupal/access_code Packagist:https://packages.drupal.org/8
Ecosystem versions
Earlier releases before 2.0.4
Fixed in 2.0.4
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.4"
}
],
"type": "ECOSYSTEM",
"database_specific": {
"constraint": "<2.0.4"
}
}
],
"versions": []
}