Live threats

All CVEs / Moodle

CVE-2014-7845Moodle

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Nov 24, 2014
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-255
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist moodle/moodle ≥ 2.7.0 < 2.7.3 2.7.3 composer require "moodle/moodle:^2.7.3"
Packagist moodle/moodle ≥ 2.6.0 < 2.6.6 2.6.6 composer require "moodle/moodle:^2.6.6"
Packagist moodle/moodle ≥ 2.5.0 < 2.5.9 2.5.9 composer require "moodle/moodle:^2.5.9"

Per OSV / GitHub Advisories (GHSA-9v64-447r-wch6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
moodlemoodle≤ 2.4.11
moodlemoodle2.5.0
moodlemoodle2.5.1
moodlemoodle2.5.2
moodlemoodle2.5.3
moodlemoodle2.5.4
moodlemoodle2.5.5
moodlemoodle2.5.6
moodlemoodle2.5.7
moodlemoodle2.5.8
moodlemoodle2.6.0
moodlemoodle2.6.1
moodlemoodle2.6.2
moodlemoodle2.6.3
moodlemoodle2.6.4
moodlemoodle2.6.5
moodlemoodle2.7.0
moodlemoodle2.7.1
moodlemoodle2.7.2

Official sources

References

Links published by the sources. Open them with care.