CVE-2014-7845 in Moodle
The generate_password function in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide a sufficient number of possible temporary passwords, which allows remote attackers to obtain access via a brute-force attack.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5+13 more2.5.6 2.5.7 2.5.8 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.6.5 2.7.0 2.7.1 2.7.2 ≤ 2.4.11 |
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
The generate_password function in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide a sufficient number of possible temporary passwords, which allows remote attackers to obtain access via a brute-force attack.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2014-7845 |
|---|---|
| BreachSpider ID | BS-2014-GLOBAL-101306-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2014-11-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-255: CWE-255
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2014. A high severity vulnerability affects Moodle systems (CVE-2014-7845). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: The generate_password function in Moodle through 2.4.11, 2.5.x before 2.5.9, 2.6.x before 2.6.6, and 2.7.x before 2.7.3 does not provide a sufficient number of possible temporary passwords, which allows remote attackers to obtain access via a brute-force attack. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2014-7845?
This vulnerability was disclosed in 2014. A high severity vulnerability affects Moodle systems (CVE-2014-7845). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2014-7845?
CVE-2014-7845 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 2.4%.
Is CVE-2014-7845 actively exploited?
No confirmed active exploitation of CVE-2014-7845 as of 2026-09-25.
How do I remediate CVE-2014-7845?
Priority: MEDIUM. Advisory: https://moodle.org/mod/forum/discuss.php?d=275152 PSIRT: [email protected]
What systems are affected by CVE-2014-7845?
CVE-2014-7845 affects Moodle Moodle.
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":"Moodle","product":"Moodle","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.