CVE-2012-4402Moodle
Medium 4.9
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Moodle.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | 2.1.0 |
| moodle | moodle | 2.1.1 |
| moodle | moodle | 2.1.2 |
| moodle | moodle | 2.1.3 |
| moodle | moodle | 2.1.4 |
| moodle | moodle | 2.1.5 |
| moodle | moodle | 2.1.6 |
| moodle | moodle | 2.1.7 |
| moodle | moodle | 2.2.0 |
| moodle | moodle | 2.2.1 |
| moodle | moodle | 2.2.2 |
| moodle | moodle | 2.2.3 |
| moodle | moodle | 2.2.4 |
| moodle | moodle | 2.3.0 |
| moodle | moodle | 2.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org Patch
- moodle.org Vendor Advisory
- openwall.com