{"id":"CVE-2012-4402","state":"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 not properly restrict the use of web-service tokens, which allows remote authentica","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.","publishedAt":"2012-09-19T10:00:00.000Z","updatedAt":"2024-09-17T02:11:41.937Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:25.231Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/4xxx/CVE-2012-4402.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-4402","state":"PUBLISHED","datePublished":"2012-09-19T10:00:00.000Z","dateUpdated":"2024-09-17T02:11:41.937Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2012-08-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://openwall.com/lists/oss-security/2012/09/17/1","name":"[oss-security] 20120917 Moodle security notifications public","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-34368","tags":["x_refsource_CONFIRM"]},{"url":"http://moodle.org/mod/forum/discuss.php?d=211559","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2012-09-19T10:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2012-4402","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20120917 Moodle security notifications public","refsource":"MLIST","url":"http://openwall.com/lists/oss-security/2012/09/17/1"},{"name":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-34368","refsource":"CONFIRM","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-34368"},{"name":"http://moodle.org/mod/forum/discuss.php?d=211559","refsource":"CONFIRM","url":"http://moodle.org/mod/forum/discuss.php?d=211559"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://openwall.com/lists/oss-security/2012/09/17/1","name":"[oss-security] 20120917 Moodle security notifications public","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-34368","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://moodle.org/mod/forum/discuss.php?d=211559","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T20:35:09.326Z"}}]}}}