CVE-2012-5479 in Moodle
The Portfolio plugin in Moodle 2.1.x before 2.1.9, 2.2.x before 2.2.6, and 2.3.x before 2.3.3 allows remote authenticated users to upload and execute files via a modified Portfolio API callback.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Moodle | Moodle | 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5+12 more2.1.6 2.1.7 2.1.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.3.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The Portfolio plugin in Moodle 2.1.x before 2.1.9, 2.2.x before 2.2.6, and 2.3.x before 2.3.3 allows remote authenticated users to upload and execute files via a modified Portfolio API callback.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-5479 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-092503-M |
| CVSS vector | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| Published | 2012-11-21 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Moodle systems (CVE-2012-5479). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: The Portfolio plugin in Moodle 2.1.x before 2.1.9, 2.2.x before 2.2.6, and 2.3.x before 2.3.3 allows remote authenticated users to upload and execute files via a modified Portfolio API callback. CVSS vector: AV:N/AC:L/Au:S/C:P/I:P/A:P.
Questions
What is CVE-2012-5479?
This vulnerability was disclosed in 2012. A medium severity vulnerability affects Moodle systems (CVE-2012-5479). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2012-5479?
CVE-2012-5479 has CVSS 6.5 (Medium). Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P. EPSS: 1.3%.
Is CVE-2012-5479 actively exploited?
No confirmed active exploitation of CVE-2012-5479 as of 2026-09-25.
How do I remediate CVE-2012-5479?
Priority: MONITOR. Advisory: http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-33791 PSIRT: [email protected]
What systems are affected by CVE-2012-5479?
CVE-2012-5479 affects Moodle Moodle.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Moodle","product":"Moodle","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.