CVE-2012-1157 json
Moodle default permissions too permissive
published 2019-11-14 6 y ago modified 2026-06-16 4 mo ago also GHSA-2x36-7xfm-pgm7 , EUVD-2022-1600
- cvss
- 4.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
Moodle before 2.2.2 has a default repository capabilities issue where all repositories are viewable by all users by default
Patch / fix
- packagist moodle/moodle 1.9.17, 2.0.8, 2.1.5, 2.2.2
- moodle moodle 2.2.2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-1157 updated cvss 4.3
moodle: multiple security fixes in 2.2.2, 2.1.5, 2.0.8, 1.9.17
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.22% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=2.2, <2.2.2 >=2.1, <2.1.5 >=2.0, <2.0.8 <1.9.17 |
2.2.2 2.1.5 2.0.8 1.9.17 |
Affected products
- Moodle Moodle
Classification
- Weakness
-
- CWE-276 Incorrect Default Permissions
References
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2012-1157
web, issue-tracking, patch, third-party-advisory
-
moodle.org
/mod/forum/discuss.php?d=198624
web, patch, vendor-advisory
-
github.com
/moodle/moodle/commit/246c2cb8e5af71a7d7c605b8fc9f9563e0fb3bc4
web
-
lists.fedoraproject.org
/pipermail/package-announce/2012-April/078209.html
web, third-party-advisory
-
security-tracker.debian.org
/tracker/CVE-2012-1157
web, third-party-advisory
-
access.redhat.com
/security/cve/cve-2012-1157
web, broken-link
-
lists.fedoraproject.org
/pipermail/package-announce/2012-May/081047.html
web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-April/078210.html
web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-April/077635.html
web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-May/080712.html
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2012-1157
advisory
-
github.com
/moodle/moodle
package
Sources
- CVE List CVE-2012-1157
- GitHub Advisory GHSA-2x36-7xfm-pgm7
- NVD CVE-2012-1157
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.