Description
Drupal 6.x before 6.29 and 7.x before 7.24 uses the PHP mt_rand function to generate random numbers, which uses predictable seeds and allows remote attackers to predict security strings and bypass intended restrictions via a brute force attack.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | drupal7 | 7.14-2+deb7u1 | DSA-2804-1 |
| Debian 6.0 | drupal6 | 6.29-1 | DSA-2828-1 |
Advisories 2
- DSA-2804-1 drupal7 - several Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2828-1 drupal6 - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- 56148 third-party-advisory
- DSA-2828 vendor-advisory
- [oss-security] 20131122 SA-CORE-2013-003 - Drupal core - Multiple vulnerabilities mailing-list
- https://drupal.org/SA-CORE-2013-003
- DSA-2804 vendor-advisory