{"id":"UBUNTU-CVE-2015-3181","details":"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.","modified":"2025-07-16T07:32:52.807137Z","published":"2015-06-01T19:59:00Z","withdrawn":"2025-07-18T16:43:12Z","upstream":["CVE-2015-3181"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-3181"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2015/05/18/1"},{"type":"REPORT","url":"https://moodle.org/mod/forum/discuss.php?d=313688"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-3181"}],"affected":[{"package":{"name":"moodle","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/moodle@3.0.3+dfsg-0ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.3+dfsg-0ubuntu1"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"moodle","binary_version":"3.0.3+dfsg-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-3181.json"}},{"package":{"name":"moodle","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/moodle@3.0.3+dfsg-0ubuntu1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.3+dfsg-0ubuntu1"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"moodle","binary_version":"3.0.3+dfsg-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-3181.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"low"}]}