CVE-2012-1156: Moodle before 2.2.2 has users' private files included in course backups
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.1% (FIRST EPSS); higher than 82.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: moodle/moodle (Packagist) 2.0.8, 2.1.5, 2.2.2.
Low priority for now. Upgrade to moodle/moodle (Packagist) 2.0.8, 2.1.5, 2.2.2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
- Published
- Nov 14, 2019
- Updated
- Jun 16, 2026
- EPSS
- 2.1% · 82th percentile
- CWE
- CWE-532
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| moodle | moodle | cpe:2.3:a:moodle:moodle |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Moodle Moodle
- 2.2 to 2.2.1+, 2.1 to 2.1.4+, 2.0 to 2.0.7+affected
Affected versions · NVD (5)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora15
- fedoraproject fedora16
- fedoraproject fedora17
- moodle moodlebefore 2.2.2
- redhat enterprise linux6.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Packagist | moodle/moodle | from 2.0 · before 2.0.8 | 2.0.8 |
| Packagist | moodle/moodle | from 2.1 · before 2.1.5 | 2.1.5 |
| Packagist | moodle/moodle | from 2.2 · before 2.2.2 | 2.2.2 |
Same product
moodle: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-43425Moodle: remote code execution via calculated question types60This week
- CVE-2021-36393In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.55Plan
- CVE-2022-0332A flaw was found in Moodle in versions 3.11 to 3.11.4.49Plan
Published before and after this one in the same product
- ← EarlierCVE-2019-10189Jul 31, 2019 · A flaw was found in moodle before versions 3.7.1, 3.6.5, 3.5.7.17Monitor
- ← EarlierCVE-2012-1155Nov 14, 2019 · Moodle has a database activity export permission issue where the export function of the database activity module exports all entries even…31Monitor
- Later →CVE-2012-1168Nov 14, 2019 · Moodle before 2.2.2 has a password and web services issue where when the user profile is updated the user password is reset if not…33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Packagist:moodle/moodle | 2.0.8 | Package registry (OSV) |
| Packagist:moodle/moodle | 2.1.5 | Package registry (OSV) |
| Packagist:moodle/moodle | 2.2.2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-532 · Insertion of Sensitive Information into Log FileCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- lists.fedoraproject.org/pipermail/package-announce/2012-April/078209.html
- lists.fedoraproject.org/pipermail/package-announce/2012-April/078210.html
- lists.fedoraproject.org/pipermail/package-announce/2012-May/080712.html
- lists.fedoraproject.org/pipermail/package-announce/2012-May/081047.html
- access.redhat.com/security/cve/cve-2012-1156
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1156
- moodle.org/mod/forum/discuss.php?d=198623
- security-tracker.debian.org/tracker/CVE-2012-1156
Vendor advisories and official records. Exploit/PoC links are deliberately left out.