CVE-2012-4402

medium
Published 2012-09-19 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
4.9

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Application impact

VendorProductVersionsFixed
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

References

CWEs

CWE-264

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.