CVE-2015-2267
Moodle allows attackers to extract archives to arbitrary directories
mdeploy.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allows remote authenticated users to bypass intended access restrictions and extract archives to arbitrary directories via a crafted dataroot value.
Exploit likelihood
What each source reports
NVD Score used
4.0
mdeploy.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allows remote authenticated users to bypass intended access restrictions and extract archives to arbitrary directories via a crafted dataroot value.
- Record
CVE-2015-2267- CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:N/I:P/A:N - Weakness
- CWE-284
- Updated
- 2026-11-02
CVE List No score
mdeploy.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allows remote authenticated users to bypass intended access restrictions and extract archives to arbitrary directories via a crafted dataroot value.
- Record
CVE-2015-2267- Updated
- 2026-11-02
EUVDEUVD-2022-3592 No score
mdeploy.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allows remote authenticated users to bypass intended access restrictions and extract archives to arbitrary directories via a crafted dataroot value.
- Record
EUVD-2022-3592- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cm4r-58pj-h2ph No score
Moodle allows attackers to extract archives to arbitrary directories
mdeploy.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allows remote authenticated users to bypass intended access restrictions and extract archives to arbitrary directories via a crafted dataroot value.
- Record
GHSA-cm4r-58pj-h2ph- Weakness
- CWE-284
- Updated
- 2026-11-02
OSVGHSA-cm4r-58pj-h2ph No score
Moodle allows attackers to extract archives to arbitrary directories
mdeploy.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allows remote authenticated users to bypass intended access restrictions and extract archives to arbitrary directories via a crafted dataroot value.
- Record
GHSA-cm4r-58pj-h2ph- Weakness
- CWE-284
- Updated
- 2026-11-02
OSVMGASA-2015-0110 No score
Updated moodle packages fix security vulnerabilities
Updated moodle package fixes security vulnerabilities:
In Moodle before 2.6.9, by modifying URL a logged in user can view the list of another user's contacts, number of unread messages and list of their courses (CVE-2015-2266).
In Moodle before 2.6.9, authentication in mdeploy can be bypassed. It is theoretically possible to extract files anywhere on the system where the web server has write access. The attacking user must know details about the system and already have significant permissions on the site (CVE-2015-2267).
In Moodle before 2.6.9, a non-optimal regular expression in the "Convert links to URLs" filter could be exploited to create extra server load or make particular pages unavailable (CVE-2015-2268).
In Moodle before 2.6.9, it is possible to create HTML injection through blocks with configurable titles, however this could only be exploited by users who are already marked as XSS-trusted (CVE-2015-2269).
In Moodle before 2.6.9, for the custom themes that use blocks regions in the base layout the blocks for inaccessible courses could be displayed together with sensitive course-related information. Most of the themes, including all standard Moodle themes, are not affected (CVE-2015-2270).
In Moodle before 2.6.9, users without proper permission are able to mark tags as inappropriate. Since this capability is given to authenticated users by default, this is not an issue for most sites (CVE-2015-2271).
In Moodle before 2.6.9, even when user's password is forced to be changed on login, user could still use it for authentication in order to create the web service token and therefore extend the life of the temporary password via web services (CVE-2015-2272).
In Moodle before 2.6.9, Quiz statistics report did not properly escape student responses and could be used for XSS attack (CVE-2015-2273).
- Record
MGASA-2015-0110- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-2267 No score
mdeploy.php in Moodle through 2.5.9, 2.6.x before 2.6.9, 2.7.x before 2.7.6, and 2.8.x before 2.8.4 allows remote authenticated users to bypass intended access restrictions and extract archives to arbitrary directories via a crafted dataroot value.
- Record
UBUNTU-CVE-2015-2267- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
before 2.6.9 | 2.6.9 |
moodle/moodlePackagist |
2.7.0 up to 2.7.6 | 2.7.6 |
moodle/moodlePackagist |
2.8.0 up to 2.8.4 | 2.8.4 |
moodle/moodlePackagist |
before 2.6.9, plus listed versions v2.3.10v2.3.11v2.3.4v2.3.5v2.3.6 Show 39 moreShow lessv2.3.7v2.3.8v2.3.9v2.4.0v2.4.0-rc1v2.4.1v2.4.10v2.4.11v2.4.2v2.4.3v2.4.4v2.4.5v2.4.6v2.4.7v2.4.8v2.4.9v2.5.0v2.5.0-betav2.5.0-rc1v2.5.1v2.5.2v2.5.3v2.5.4v2.5.5v2.5.6v2.5.7v2.5.8v2.5.9v2.6.0v2.6.0-betav2.6.0-rc1v2.6.1v2.6.2v2.6.3v2.6.4v2.6.5v2.6.6v2.6.7v2.6.8 |
2.6.9 |
moodle/moodlePackagist |
2.7.0 up to 2.7.6, plus listed versions v2.7.0v2.7.1v2.7.2v2.7.3v2.7.4v2.7.5 |
2.7.6 |
moodle/moodlePackagist |
2.8.0 up to 2.8.4, plus listed versions v2.8.0v2.8.1v2.8.2v2.8.3 |
2.8.4 |
moodleMageia:4 From an advisory covering 8 CVEs |
before 2.6.10-1.mga4 | 2.6.10-1.mga4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-2267 is a medium vulnerability (CVSS 4.0) in Moodle, published March 18, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.61%, the 76th percentile. Fixed in moodle/moodle 2.6.9.
References
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-49087
moodle.org/mod/forum/discuss.php?d=307381
openwall.com/lists/oss-security/2015/03/16/1
nvd.nist.gov/vuln/detail/CVE-2015-2267
github.com/moodle/moodle/commit/12a8fcb5e45c58ee8267ad0472852c2b80a19878
github.com/moodle/moodle/commit/240e7be7341afa31096fdbf3f242a7966f6237ab
Show 24 moreShow less
github.com/moodle/moodle/commit/4475f1e478370fb97933127ec60e40f39e285da1
github.com/moodle/moodle/commit/76da7e9bc88669eab62f83f04639ba356a0b0c5a
github.com/moodle/moodle/commit/83866c3c2a5b1391317172eea0b4f017c6d142d2
github.com/moodle/moodle/commit/84f9f60b67e1e20058fbe2afa473607d075aff63
github.com/moodle/moodle/commit/8d9bdd28e049ca6b6b2a4ab8f142097c2f907df6
github.com/moodle/moodle/commit/a47aabc7833d0c88a83791d99a1204742c33f59b
github.com/moodle/moodle/commit/c353a6202658f320096a41e94494063393153b7f
github.com/moodle/moodle/commit/de169b7944e36d374d55e3f396d90ab2b4303afb
github.com/advisories/GHSA-cm4r-58pj-h2ph
github.com/moodle/moodle
advisories.mageia.org/MGASA-2015-0110.html
bugs.mageia.org/show_bug.cgi?id=15501
moodle.org/mod/forum/discuss.php?d=307380
moodle.org/mod/forum/discuss.php?d=307382
moodle.org/mod/forum/discuss.php?d=307383
moodle.org/mod/forum/discuss.php?d=307384
moodle.org/mod/forum/discuss.php?d=307385
moodle.org/mod/forum/discuss.php?d=307386
moodle.org/mod/forum/discuss.php?d=307387
docs.moodle.org/dev/Moodle_2.6.10_release_notes
moodle.org/mod/forum/discuss.php?d=305077
ubuntu.com/security/CVE-2015-2267
openwall.com/lists/oss-security/2015/03/16
cve.org/CVERecord?id=CVE-2015-2267