CVE-2012-1156
Moodle backs up private files
Moodle before 2.2.2 has users' private files included in course backups
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
Moodle before 2.2.2 has users' private files included in course backups
- Record
CVE-2012-1156- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-02
CVE List No score
Moodle before 2.2.2 has users' private files included in course backups
- Record
CVE-2012-1156- Updated
- 2026-11-02
EUVDEUVD-2022-1606 No score
Moodle before 2.2.2 has users' private files included in course backups
- Record
EUVD-2022-1606- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-358r-g2xw-7c83
7.5
Moodle backs up private files
Moodle before 2.2.2, 2.1.5, and 2.0.8 had users' private files included in course backups unnecessarily.
- Record
GHSA-358r-g2xw-7c83- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-02
OSVGHSA-358r-g2xw-7c83
7.5
Moodle backs up private files
Moodle before 2.2.2, 2.1.5, and 2.0.8 had users' private files included in course backups unnecessarily.
- Record
GHSA-358r-g2xw-7c83- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-532
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
2.2 to 2.2.1 | 2.2.2 |
moodle/moodlePackagist |
2.1 to 2.1.4 | 2.1.5 |
moodle/moodlePackagist |
2.0 to 2.0.7 | 2.0.8 |
moodle/moodlePackagist |
2.2 up to 2.2.2 | 2.2.2 |
moodle/moodlePackagist |
2.1 up to 2.1.5 | 2.1.5 |
moodle/moodlePackagist |
2.0 up to 2.0.8 | 2.0.8 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-1156 is a high vulnerability (CVSS 7.5) in Moodle, published November 14, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.14%, the 82nd percentile. Fixed in moodle/moodle 2.2.2.
References
lists.fedoraproject.org/pipermail/package-announce/2012-April/078209.html
security-tracker.debian.org/tracker/CVE-2012-1156
bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1156
access.redhat.com/security/cve/cve-2012-1156
lists.fedoraproject.org/pipermail/package-announce/2012-May/081047.html
lists.fedoraproject.org/pipermail/package-announce/2012-April/078210.html
Show 12 moreShow less
lists.fedoraproject.org/pipermail/package-announce/2012-April/077635.html
lists.fedoraproject.org/pipermail/package-announce/2012-May/080712.html
moodle.org/mod/forum/discuss.php?d=198623
nvd.nist.gov/vuln/detail/CVE-2012-1156
github.com/moodle/moodle/commit/37b6e7a03c77ea99fbe5224a15419e318019c570
github.com/moodle/moodle/commit/ac6dc09c261219afa0191e9f2daf030bd071d272
github.com/moodle/moodle/commit/f88224624dca76e1a8a2810fd8cc04292611f91c
docs.moodle.org/dev/Moodle_2.0.8_release_notes
docs.moodle.org/dev/Moodle_2.1.5_release_notes
docs.moodle.org/dev/Moodle_2.2.2_release_notes
github.com/advisories/GHSA-358r-g2xw-7c83
github.com/moodle/moodle