CVE-2016-9187
Moodle Unrestricted file upload vulnerability
Reported by mitre · Published November 4, 2016
moodle/moodle is fixed in 3.2.1 and 3.1.2 (Packagist)
Unrestricted file upload vulnerability in the double extension support in the "image" module in Moodle 3.1.2 allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension, and then accessing it via unspecified vectors.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| moodle/moodle | Packagist | 3.2.1, 3.1.2 |
| moodle | moodle | 3.1.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| moodle | moodle | 0 |
| n/a | n/a | * |
Timeline
- Nov 4, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Oct 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-9187
vulnetix vdb fixes CVE-2016-9187
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-9187/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 94191 vdb-entryx_refsource_BID
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2016-9187 advisory