Description
Moodle through 2.3.11, 2.4.x before 2.4.11, 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allows remote authenticated users to execute arbitrary code via a calculated question in a quiz.
Moodle through 2.3.11, 2.4.x before 2.4.11, 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allows remote authenticated users to execute arbitrary code via a calculated question in a quiz.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| moodle | moodle | 2.7.0 | – |
| moodle | moodle | 2.4.0 | – |
| moodle | moodle | 2.4.1 | – |
| moodle | moodle | 2.4.2 | – |
| moodle | moodle | 2.4.3 | – |
| moodle | moodle | 2.4.4 | – |
| moodle | moodle | 2.4.5 | – |
| moodle | moodle | 2.4.6 | – |
| moodle | moodle | 2.4.7 | – |
| moodle | moodle | 2.4.8 | – |
| moodle | moodle | 2.4.9 | – |
| moodle | moodle | 2.4.10 | – |
| moodle | moodle | <= 2.3.11 | – |
| moodle | moodle | 2.3.0 | – |
| moodle | moodle | 2.3.1 | – |
| moodle | moodle | 2.3.2 | – |
| moodle | moodle | 2.3.3 | – |
| moodle | moodle | 2.3.4 | – |
| moodle | moodle | 2.3.5 | – |
| moodle | moodle | 2.3.6 | – |
| moodle | moodle | 2.3.7 | – |
| moodle | moodle | 2.3.8 | – |
| moodle | moodle | 2.3.9 | – |
| moodle | moodle | 2.3.10 | – |
| moodle | moodle | 2.6.0 | – |
| moodle | moodle | 2.6.1 | – |
| moodle | moodle | 2.6.2 | – |
| moodle | moodle | 2.6.3 | – |
| moodle | moodle | 2.5.0 | – |
| moodle | moodle | 2.5.1 | – |
| moodle | moodle | 2.5.2 | – |
| moodle | moodle | 2.5.3 | – |
| moodle | moodle | 2.5.4 | – |
| moodle | moodle | 2.5.5 | – |
| moodle | moodle | 2.5.6 | – |
CWE-94 Improper Control of Generation of Code
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
| Scope | Impact |
|---|---|
| Access Control | Bypass Protection Mechanism In some cases, injectable code controls authentication; this may lead to a remote vulnerability. |
| Access Control | Gain Privileges or Assume Identity Injected code can access resources that the attacker is directly prevented from accessing. |
| Integrity, Confidentiality, Availability | Execute Unauthorized Code or Commands When a product allows a user's input to contain code syntax, it might be possible for an attacker to craft the code in such a way that it will alter the intended control flow of the product. As a result, code injection can often result in the execution of arbitrary code. Code injection attacks can also lead to loss of data integrity in nearly all cases, since the control-plane data injected is always incidental to data recall or writing. |
| Non-Repudiation | Hide Activities Often the actions performed by injected control code are unlogged. |
All 5,899 CWE-94 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org