CVE-2012-3387
Moodle Authentication Bypass in File Upload
CVE-2012-3387 is a medium vulnerability (CVSS 4.0) in Moodle, published July 23, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.13%, the 66th percentile. Fixed in moodle/moodle 2.3.1.
Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which allows remote authenticated users to bypass intended alias (aka shortcut) restrictions via a client that omits this check.
Exploit likelihood
What each source reports
NVD Score used
4.0
Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which allows remote authenticated users to bypass intended alias (aka shortcut) restrictions via a client that omits this check.
- Record
CVE-2012-3387- CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:N/I:P/A:N - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which allows remote authenticated users to bypass intended alias (aka shortcut) restrictions via a client that omits this check.
- Record
CVE-2012-3387- Updated
- 2026-11-02
EUVDEUVD-2022-5508 No score
Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which allows remote authenticated users to bypass intended alias (aka shortcut) restrictions via a client that omits this check.
- Record
EUVD-2022-5508- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w66h-c2vj-cm7f No score
Moodle Authentication Bypass in File Upload
Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which allows remote authenticated users to bypass intended alias (aka shortcut) restrictions via a client that omits this check.
- Record
GHSA-w66h-c2vj-cm7f- Weakness
- CWE-287
- Updated
- 2026-11-02
OSVGHSA-w66h-c2vj-cm7f No score
Moodle Authentication Bypass in File Upload
Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which allows remote authenticated users to bypass intended alias (aka shortcut) restrictions via a client that omits this check.
- Record
GHSA-w66h-c2vj-cm7f- Weakness
- CWE-287
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2012-3387 No score
Moodle 2.3.x before 2.3.1 uses only a client-side check for whether references are permitted in a file upload, which allows remote authenticated users to bypass intended alias (aka shortcut) restrictions via a client that omits this check.
- Record
UBUNTU-CVE-2012-3387- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
2.3 up to 2.3.1 | 2.3.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | affected | |
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-33948
secunia.com/advisories/49890
openwall.com/lists/oss-security/2012/07/17/1
securityfocus.com/bid/54481
exchange.xforce.ibmcloud.com/vulnerabilities/76954
nvd.nist.gov/vuln/detail/CVE-2012-3387
Show 7 moreShow less
github.com/moodle/moodle/commit/3b6629c088f14c6ee8f13a009ff27441d164f334
github.com/moodle/moodle/commit/61a339e59857fd36080f4a468a16cd6a539d90bb
web.archive.org/web/20121104220059/http://www.securityfocus.com/bid/54481
github.com/advisories/GHSA-w66h-c2vj-cm7f
github.com/moodle/moodle
ubuntu.com/security/CVE-2012-3387
cve.org/CVERecord?id=CVE-2012-3387