{"id":"GHSA-2x36-7xfm-pgm7","summary":"Moodle default permissions too permissive","details":"Moodle before 2.2.2 default settings allowed all repositories to be viewable by all authenticated users.\n\n","aliases":["CVE-2012-1157"],"modified":"2023-12-29T21:11:34.652313Z","published":"2022-04-23T00:40:10Z","database_specific":{"cwe_ids":["CWE-276"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-12-29T20:59:04Z","nvd_published_at":"2019-11-14T17:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-1157"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/246c2cb8e5af71a7d7c605b8fc9f9563e0fb3bc4"},{"type":"WEB","url":"https://access.redhat.com/security/cve/cve-2012-1157"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1157"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=198624"},{"type":"WEB","url":"https://security-tracker.debian.org/tracker/CVE-2012-1157"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/077635.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078209.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-April/078210.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080712.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081047.html"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2"},{"fixed":"2.2.2"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2.2.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-2x36-7xfm-pgm7/GHSA-2x36-7xfm-pgm7.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1"},{"fixed":"2.1.5"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2.1.4","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-2x36-7xfm-pgm7/GHSA-2x36-7xfm-pgm7.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0"},{"fixed":"2.0.8"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2.0.7","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-2x36-7xfm-pgm7/GHSA-2x36-7xfm-pgm7.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.17"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-2x36-7xfm-pgm7/GHSA-2x36-7xfm-pgm7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}