Live threats

All CVEs / Moodle

CVE-2012-4402Moodle

Medium 4.9

Priority
29
CVSS 2.0
4.9
EPSS
1.0%
probability of exploitation in 30 days · percentile 61
Auth required
Yes
Published
Sep 19, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:M/Au:S/C:P/I:P/A:N

What happens

webservice/lib.php in Moodle 2.1.x before 2.1.8, 2.2.x before 2.2.5, and 2.3.x before 2.3.2 does not properly restrict the use of web-service tokens, which allows remote authenticated users to run arbitrary external-service functions via a token intended for only one service.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected products (CPE)

VendorProductVersions
moodlemoodle2.1.0
moodlemoodle2.1.1
moodlemoodle2.1.2
moodlemoodle2.1.3
moodlemoodle2.1.4
moodlemoodle2.1.5
moodlemoodle2.1.6
moodlemoodle2.1.7
moodlemoodle2.2.0
moodlemoodle2.2.1
moodlemoodle2.2.2
moodlemoodle2.2.3
moodlemoodle2.2.4
moodlemoodle2.3.0
moodlemoodle2.3.1

Official sources

References

Links published by the sources. Open them with care.