# Moodle Temporary Passwords are Brute Force-able

Advisory record · `GHSA-9v64-447r-wch6`

- **Identifiers:** `GHSA-9v64-447r-wch6` · `CVE-2014-7845` · `PKSA-77dp-vfrk-4h6v`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-1391](https://cwe.mitre.org/data/definitions/1391.html)
- **Tags:** [Hard-coded credentials](https://agentprime.io/advisories/tag/hard-coded-credentials.md)
- **Published:** 13 May 2022
- **Updated:** 7 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2022, 01:12 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `moodle/moodle` (Packagist): affected `>=2.7.0, <2.7.3 || >=2.6.0, <2.6.6 || >=2.5.0, <2.5.9`; fixed in `2.7.3`, `2.6.6`, `2.5.9`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Moodle versions 2.5.0 to before 2.5.9, 2.6.0 to before 2.6.6, and 2.7.0 to before 2.7.3 are affected. The password generator produces too few possible temporary passwords, so a remote attacker can brute-force a temporary password and gain access to an account. Upgrade to Moodle 2.5.9, 2.6.6, 2.7.3 or later. The source does not list a workaround.

Written 4 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.024, the 84th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:28 UTC: First seen by agentprime
- 31 Oct 2026, 14:28 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-9v64-447r-wch6)

## Sources

- [GitHub Advisory Database: GHSA-9v64-447r-wch6](https://github.com/advisories/GHSA-9v64-447r-wch6)
- [OSV: GHSA-9v64-447r-wch6](https://osv.dev/vulnerability/GHSA-9v64-447r-wch6)
- <https://nvd.nist.gov/vuln/detail/CVE-2014-7845>
- <https://github.com/moodle/moodle/commit/04f2e83ce76cf931e6614497c1a7cc6c8afb9454>
- <https://github.com/moodle/moodle/commit/3128901f99d41d9368e81ffc67f4bc0535221e02>
- <https://github.com/moodle/moodle/commit/40a04658232d898223462f84d8cd35510338acbe>
- <https://github.com/moodle/moodle/commit/ece03f3b13c5eefa7bb008401b9414eed620eebc>
- <https://github.com/moodle/moodle>
- <https://moodle.org/mod/forum/discuss.php?d=275152>
- <https://web.archive.org/web/20150914064838/http://www.securitytracker.com/id/1031215>
- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-47050>
- <http://openwall.com/lists/oss-security/2014/11/17/11>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-9v64-447r-wch6>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-9v64-447r-wch6/>. Everything for agents: <https://agentprime.io/llms.txt>.
