{"id":"UBUNTU-CVE-2012-3390","details":"lib/filelib.php in Moodle 2.1.x before 2.1.7 and 2.2.x before 2.2.4 does not properly restrict file access after a block has been hidden, which allows remote authenticated users to obtain sensitive information by reading a file that is embedded in a block.","modified":"2025-07-16T07:30:56.587369Z","published":"2012-07-23T21:55:00Z","withdrawn":"2025-07-18T16:42:46Z","upstream":["CVE-2012-3390"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2012-3390"},{"type":"REPORT","url":"http://openwall.com/lists/oss-security/2012/07/17/1"},{"type":"REPORT","url":"http://git.moodle.org/gw?p=moodle.git;a=commit;h=c58c05ad4f22c6ee1e136a7d4caaddd809a7134d"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2012-3390"}],"affected":[{"package":{"name":"moodle","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/moodle@2.5.4-1ubuntu1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.4-1ubuntu1"}]}],"versions":["2.5.2-1","2.5.3-1","2.5.3-2","2.5.3-3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"moodle","binary_version":"2.5.4-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-3390.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"medium"}]}