CVE-2016-9186: Moodle - Unrestricted File Upload
- Cve: CVE-2016-9186
- Name: Moodle - Unrestricted File Upload
- Description: Unrestricted file upload vulnerability in the "legacy course files" and "file manager" modules 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 file upload restrictions.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution, file_system_write
- Requirement type: logged_in
- Requirements: Attacker needs authenticated access
- 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.03822
- Epss percentile: 0.90336
- Assignee: [email protected]
- Published at: 2016-11-04T10:59:06Z
- Age in days: 3672
- Modified at: 2026-06-17T00:55:38Z
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-9186
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, 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/94190 | nvd | Third Party Advisory, VDB Entry |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| moodle:moodle | <= 3.1.2 | no | nvd | /v1/products/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