{"id":"CVE-2015-3181","published":"2015-06-01T19:00:00Z","modified":"2024-08-06T05:39:31Z","title":"files/externallib.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 does…","vendor":null,"product":null,"tier":"tail","description":{"text":"files/externallib.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 does not consider the moodle/user:manageownfiles capability before approving a private-file upload, which allows remote authenticated users to bypass intended file-management restrictions by using web services to perform uploads after this capability has been revoked.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.017,"percentile":0.77779,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/74728","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-49994","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1032358","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=313688","tags":["x_refsource_CONFIRM"]},{"url":"http://openwall.com/lists/oss-security/2015/05/18/1","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":15.56}]},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":["<2.6.11",">=2.7.0, <2.7.8",">=2.8.0, <2.8.6"],"patched":["2.6.11","2.7.8","2.8.6"],"from":["GHSA-622h-cjgg-5mx6"],"provenance":"source"}],"summary":{"text":"The flaw is in files/externallib.php in Moodle, where the code does not check the moodle/user:manageownfiles capability before approving a private-file upload. An attacker who is an authenticated user with network access to the Moodle web services can bypass the file-management restriction by performing uploads through web services after that capability has been revoked.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:14Z"},"euvd":{"id":"EUVD-2022-2685","exploited":false,"provenance":"source"}}