Lucene search

K
osvGoogleOSV:GHSA-382V-GXJ9-FFHC
HistoryMay 13, 2022 - 1:12 a.m.

Moodle uses predictable password-recovery tokens

2022-05-1301:12:47
Google
osv.dev
4
moodle
predictable
password-recovery
tokens
vulnerability
remote attackers
brute-force
php
mt_rand function
implementation

AI Score

6.8

Confidence

Low

EPSS

0.003

Percentile

71.5%

lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 relies on the PHP mt_rand function to implement the random_string and complex_random_string functions, which makes it easier for remote attackers to predict password-recovery tokens via a brute-force approach.

AI Score

6.8

Confidence

Low

EPSS

0.003

Percentile

71.5%