{"id":"CVE-2012-3387","published":"2012-07-23T21:00:00Z","modified":"2024-08-06T20:05:12Z","title":"Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which…","vendor":null,"product":null,"tier":"tail","description":{"text":"Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which allows remote authenticated users to bypass intended alias (aka shortcut) restrictions via a client that omits this check.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01128,"percentile":0.67152,"provenance":"source"},"cwes":[],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-33948","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/49890","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://openwall.com/lists/oss-security/2012/07/17/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/54481","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/76954","tags":["vdb-entry","x_refsource_XF"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":13.43}]},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=2.3, <2.3.1"],"patched":["2.3.1"],"from":["GHSA-w66h-c2vj-cm7f"],"provenance":"source"}],"summary":{"text":"Moodle 2.3.x releases before 2.3.1 contain a flaw in the file upload handling, where the check for whether references (aliases or shortcuts) are permitted relies only on the client side. An authenticated remote user can bypass the intended alias restrictions by using a client that does not perform that check.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:25Z"},"euvd":{"id":"EUVD-2022-5508","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-moodle-moodle-cve-2011-4294","children":[{"from":"CVE-2012-3387","to":"CVE-2013-4522","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/filelib.php"],"commits":["https://github.com/moodle/moodle/commit/3b6629c088f14c6ee8f13a009ff27441d164f334","https://github.com/moodle/moodle/commit/61a339e59857fd36080f4a468a16cd6a539d90bb","https://github.com/moodle/moodle/commit/d0041fb110201d3dc1a4546eca8b6108b440d1c5"],"basis":"rarely changed file"}]},{"from":"CVE-2012-3387","to":"CVE-2015-3175","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mod/forum/lib.php","mod/forum/post.php"],"commits":["https://github.com/moodle/moodle/commit/3b6629c088f14c6ee8f13a009ff27441d164f334","https://github.com/moodle/moodle/commit/61a339e59857fd36080f4a468a16cd6a539d90bb","https://github.com/moodle/moodle/commit/b2687a055dc990ca86ddce178d5aee3fb1df644a","https://github.com/moodle/moodle/commit/db200a8e9f88c8c4a2141ac264062dca74ee2f29"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2012-1159","published":"2019-11-14","fixed":"2.2.2","kev":false},{"cve":"CVE-2012-2353","published":"2012-07-21","fixed":"2.2.3","kev":false},{"cve":"CVE-2012-2356","published":"2012-07-21","fixed":"2.2.3","kev":false},{"cve":"CVE-2012-3387","published":"2012-07-23","fixed":"2.3.1","kev":false},{"cve":"CVE-2012-5471","published":"2012-11-21","fixed":"2.3.3","kev":false,"link":{"from":"CVE-2012-3387","to":"CVE-2012-5471","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"2.3.1","toFixed":"2.3.3","daysApart":121}]}},{"cve":"CVE-2012-6099","published":"2013-01-27","fixed":"2.4.1","kev":false},{"cve":"CVE-2012-6112","published":"2013-01-27","fixed":"2.4.1","kev":false}],"package":"Packagist:moodle/moodle"}}