CVE-2012-3387Moodle
Medium 4.0
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 24
- CVSS 2.0
- 4.0
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- Yes
- Published
- Jul 23, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
AV:N/AC:L/Au:S/C:N/I:P/A:N
What happens
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.
What to do
- Apply the vendor's security update for Moodle.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | moodle/moodle |
≥ 2.3 < 2.3.1 |
2.3.1 |
composer require "moodle/moodle:^2.3.1" |
Per OSV / GitHub Advisories (GHSA-w66h-c2vj-cm7f). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | 2.3.0 |
Official sources
References
Links published by the sources. Open them with care.