What’s Vulnerable › Vulnerabilities
CVE-2012-4402
- Severity: medium (CVSS 4.9 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2012-09-19 · updated 2026-06-16
- Weakness: CWE-264
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.
Affected products
- Moodle: 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5 (+9)
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-34368
- http://moodle.org/mod/forum/discuss.php?d=211559
- http://openwall.com/lists/oss-security/2012/09/17/1
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-34368
- http://moodle.org/mod/forum/discuss.php?d=211559
- http://openwall.com/lists/oss-security/2012/09/17/1
Get alerted when CVE-2012-4402 or the next vulnerability affects your stack