CVE-2010-1616: Moodle/moodle Moodle Is Vulnerable To Unauthorized Vulnerability
MODERATECVE-2010-1616 is a MODERATE moodle is vulnerable to unauthorized vulnerability (CWE-284: Improper Access Control) affecting Moodle/moodle libraries in the Packagist ecosystem. The issue involves moodle is vulnerable to unauthorized new accounts creation. Remediation is available by upgrading affected packages to version 1.8.12, 1.9.8.
CVE-2010-1616 at a Glance
How to Fix CVE-2010-1616
To remediate this vulnerability, upgrade all affected Moodle/moodle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade moodle/moodle to 1.8.12
Upgrade moodle/moodle to 1.9.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for moodle/moodle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2010-1616, inspect your project dependencies for Moodle/moodle:
inspect dependencies for moodle/moodle
Analyze the terminal output to locate any version of Moodle/moodle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.8.12), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Moodle/moodle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2010-1616 Affected Moodle/moodle Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
moodle/moodle
|
Packagist |
≥ 1.8.0
< 1.8.12
|
1.8.12
|
|
moodle/moodle
|
Packagist |
≥ 1.9.0
< 1.9.8
|
1.9.8
|
References
Frequently Asked Questions
What is CVE-2010-1616?
Which Moodle/moodle versions are affected?
What version fixes CVE-2010-1616?
Is moodle/moodle affected?
What CWE is associated with CVE-2010-1616?
How can I check Packagist dependencies for CVE-2010-1616?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-966m-m549-2878",
"modified" : "2024-02-07T22:35:03Z",
"published" : "2022-05-13T01:13:08Z",
"aliases" : [ "CVE-2010-1616" ],
"summary" : "Moodle is vulnerable to unauthorized new accounts creation",
"details" : "Moodle 1.8.x and 1.9.x before 1.9.8 can create new roles when restoring a course, which allows teachers to create new accounts even if they do not have the moodle/user:create capability.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "moodle/moodle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.8.0"
}, {
"fixed" : "1.8.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "moodle/moodle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.9.0"
}, {
"fixed" : "1.9.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-1616"
}, {
"type" : "WEB",
"url" : "https://github.com/moodle/moodle/commit/55f5b2e8b84e6390c0917195d01a3b34c33ff398"
}, {
"type" : "WEB",
"url" : "https://github.com/moodle/moodle/commit/5d9ab024ac9c311c84716628cce9a124173a2e8b"
}, {
"type" : "WEB",
"url" : "https://github.com/moodle/moodle/commit/5e934890c9fbe28bf89362d3eb6140208b5e3464"
}, {
"type" : "WEB",
"url" : "https://github.com/moodle/moodle/commit/b0ccfc5ce87f09d4df814b057f5e6820d37fdad1"
}, {
"type" : "WEB",
"url" : "https://github.com/moodle/moodle/commit/d8ada21339ecc147eccaaae97678f5368ac05f8b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/moodle/moodle"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html"
}, {
"type" : "WEB",
"url" : "http://moodle.org/security"
}, {
"type" : "WEB",
"url" : "http://tracker.moodle.org/browse/MDL-16658"
}, {
"type" : "WEB",
"url" : "http://www.vupen.com/english/advisories/2010/1107"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-07T22:35:03Z",
"nvd_published_at" : "2010-04-29T21:30:00Z"
}
}