{"id":"CVE-2012-4402","aliases":["EUVD-2012-4341","GHSA-gw89-x73p-wccw"],"status":"published","title":"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...","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.","severity":{"version":"2.0","score":4.9,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00983,"percentile":0.62545,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-264"],"published":"2012-09-19T10:00:00Z","modified":"2026-06-16T23:44:56Z","products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://openwall.com/lists/oss-security/2012/09/17/1","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-34368","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://moodle.org/mod/forum/discuss.php?d=211559","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4402"},{"url":"https://github.com/advisories/GHSA-gw89-x73p-wccw"}],"sources":{"cve":[{"id":"CVE-2012-4402","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.","status":"published","published":"2012-09-19T10:00:00Z","modified":"2024-09-17T02:11:41.937Z","updated_at":"2026-11-02T14:34:51.937988Z"}],"euvd":[{"id":"EUVD-2012-4341","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.","status":"published","published":"2012-09-19T10:00:00Z","modified":"2024-09-17T02:11:41Z","updated_at":"2026-11-03T00:28:42.924013Z"}],"ghsa":[{"id":"GHSA-gw89-x73p-wccw","title":"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...","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.","status":"published","published":"2022-05-13T01:13:01Z","modified":"2023-02-01T05:03:55Z","updated_at":"2026-11-02T14:50:07.322817Z"}],"nvd":[{"id":"CVE-2012-4402","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.","status":"published","published":"2012-09-19T10:57:07.267Z","modified":"2026-06-16T23:44:56.987Z","cvss":[{"version":"2.0","score":4.9,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:15.643902Z"}]}}
