CVE-2016-9187: Moodle - Unrestricted File Upload
- Cve: CVE-2016-9187
- Name: Moodle - Unrestricted File Upload
- Description: 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.
- Impact: Authenticated users can upload and execute arbitrary code, leading to remote code execution and full system compromise.
- Remediation: Update to the latest version of Moodle or apply security patches addressing the file upload vulnerability.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0397
- Epss percentile: 0.90727
- Assignee: [email protected]
- Published at: 2016-11-04T10:59:07Z
- Age in days: 3672
- Modified at: 2026-06-17T00:55:38Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-9187
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://packetstormsecurity.com/files/139466/Moodle-CMS-3.1.2-Cross-Site-Scripting-File-Upload.html | nvd | 2016-11-04 |
References
| Url | Source | Tags |
|---|---|---|
| https://packetstormsecurity.com/files/139466/Moodle-CMS-3.1.2-Cross-Site-Scripting-File-Upload.html | nvd | Exploit, Third Party Advisory, VDB Entry |
| http://www.securityfocus.com/bid/94191 | nvd | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| moodle:moodle | <= 3.1.2 | no | nvd | /v1/products/moodle/moodle |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| moodle/moodle | package | yes | /v1/repositories/moodle/moodle |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2016-11-04
- Remote: yes
- Authentication required: yes
- Exposed hosts: 62250
- Checked, none or zero: known exploited, known exploited by, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports