CVE-2012-3387 json
Moodle Authentication Bypass in File Upload
published 2012-07-23 14 y ago modified 2026-06-16 4 mo ago also GHSA-w66h-c2vj-cm7f , EUVD-2022-5508
- cvss
- 4.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 2.3.1
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-3387 updated cvss 4.3
moodle: upstream 2.3.1, 2.2.4, 2.1.7, 2.0.10, 1.9.19 security fixes
-
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.13% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=2.3, <2.3.1 |
2.3.1 |
Classification
References
-
github.com
/moodle/moodle/commit/3b6629c088f14c6ee8f13a009ff27441d164f334
web
-
github.com
/moodle/moodle/commit/61a339e59857fd36080f4a468a16cd6a539d90bb
web
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-33948
web
-
secunia.com
/advisories/49890
third-party-advisory
-
openwall.com
/lists/oss-security/2012/07/17/1
mailing-list, web
-
securityfocus.com
/bid/54481
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/76954
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2012-3387
advisory
-
github.com
/moodle/moodle
package
-
web.archive.org
/web/20121104220059/http://www.securityfocus.com/bid/54481
web
Sources
- CVE List CVE-2012-3387
- GitHub Advisory GHSA-w66h-c2vj-cm7f
- NVD CVE-2012-3387
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.