{"id":"GHSA-2x36-7xfm-pgm7","aliases":["CVE-2012-1157"],"title":"Moodle default permissions too permissive","description":"Moodle before 2.2.2 default settings allowed all repositories to be viewable by all authenticated users.\n\n","severity":"medium","score":4.3,"published":"2022-04-23T00:40:10.000Z","modified":"2023-12-29T21:11:34.652Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"2.2"},{"fixed":"2.2.2"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["2.2.2"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"2.1"},{"fixed":"2.1.5"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["2.1.5"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"2.0"},{"fixed":"2.0.8"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["2.0.8"]},{"ecosystem":"Packagist","name":"moodle/moodle","ranges":[{"events":[{"introduced":"0"},{"fixed":"1.9.17"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["1.9.17"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2012-1157","https://github.com/moodle/moodle/commit/246c2cb8e5af71a7d7c605b8fc9f9563e0fb3bc4","https://access.redhat.com/security/cve/cve-2012-1157","https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1157","https://github.com/moodle/moodle","https://moodle.org/mod/forum/discuss.php?d=198624","https://security-tracker.debian.org/tracker/CVE-2012-1157","http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077635.html","http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078209.html","http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078210.html","http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080712.html","http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081047.html"],"sources":[{"name":"OSV","id":"GHSA-2x36-7xfm-pgm7","modified":"2023-12-29T21:11:34.652313Z","url":"https://osv.dev/vulnerability/GHSA-2x36-7xfm-pgm7"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3}]}