CVE-2013-6386 in Drupal
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Drupal | Drupal | 6.0 6.1 6.2 6.3 6.4 6.5+48 more6.6 6.7 6.8 6.9 6.10 6.11 6.12 6.13 6.14 6.15 6.16 6.17 6.18 6.19 6.20 6.21 6.22 6.23 6.24 6.25 6.26 6.27 6.28 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 7.10 7.11 7.12 7.13 7.14 7.15 7.16 7.17 7.18 7.19 7.20 7.21 7.22 7.23 7.x-dev |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2013-6386 |
|---|---|
| BreachSpider ID | BS-2013-GLOBAL-026445-M |
| CVSS vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| Published | 2013-12-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-310: Cryptographic Issues
Broad class covering misuse of cryptography: weak algorithms, insufficient key length, improper certificate validation.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Drupal systems (CVE-2013-6386). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:M/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2013-6386?
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Drupal systems (CVE-2013-6386). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2013-6386?
CVE-2013-6386 has CVSS 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. EPSS: 2.1%.
Is CVE-2013-6386 actively exploited?
No confirmed active exploitation of CVE-2013-6386 as of 2026-09-25.
How do I remediate CVE-2013-6386?
Priority: MONITOR. Advisory: https://drupal.org/SA-CORE-2013-003 PSIRT: [email protected]
What systems are affected by CVE-2013-6386?
CVE-2013-6386 affects Drupal Drupal.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Drupal","product":"Drupal","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.