Moodle 3.x Calculated Question injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.4$0-$5k0.00

Summaryinfo

A vulnerability categorized as critical has been discovered in Moodle 3.x. This issue affects some unknown processing of the component Calculated Question Handler. Executing a manipulation can lead to injection. This vulnerability is registered as CVE-2018-1133. It is possible to launch the attack remotely. Furthermore, an exploit is available.

Detailsinfo

A vulnerability has been found in Moodle 3.x (Learning Management Software) and classified as critical. This vulnerability affects an unknown functionality of the component Calculated Question Handler. The manipulation with an unknown input leads to a injection vulnerability. The CWE definition for the vulnerability is CWE-74. The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

An issue was discovered in Moodle 3.x. A Teacher creating a Calculated question can intentionally cause remote code execution on the server, aka eval injection.

The bug was discovered 05/25/2018. The weakness was published 05/25/2018 (Website). The advisory is available at moodle.org. This vulnerability was named CVE-2018-1133 since 12/04/2017. The attack can be initiated remotely. The successful exploitation needs a single authentication. Technical details are unknown but a public exploit is available. This vulnerability is assigned to T1055 by the MITRE ATT&CK project.

It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The commercial vulnerability scanner Qualys is able to test this issue with plugin 13441 (Moodle Multiple Security Vulnerabilities (MSA-18-0007,MSA-18-0008,MSA-18-0009,MSA-18-0010,MSA-18-0012)).

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the vulnerability database at SecurityFocus (BID 104307†). Similar entries are available at VDB-118211, VDB-118212, VDB-118213 and VDB-118214. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.4

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Injection
CWE: CWE-74 / CWE-707 / CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

OpenVAS ID: 58549
OpenVAS Name: Moodle 3.x Multiple Vulnerabilities - May18 (Windows)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

Timelineinfo

12/04/2017 🔍
05/25/2018 +171 days 🔍
05/25/2018 +0 days 🔍
05/25/2018 +0 days 🔍
05/25/2018 +0 days 🔍
05/25/2018 +0 days 🔍
07/27/2025 +2620 days 🔍

Sourcesinfo

Product: moodle.org

Advisory: moodle.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-1133 (🔍)
GCVE (CVE): GCVE-0-2018-1133
GCVE (VulDB): GCVE-100-118210
SecurityFocus: 104307 - Moodle Multiple Security Vulnerabilities

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 05/25/2018 23:56
Updated: 07/27/2025 16:01
Changes: 05/25/2018 23:56 (64), 02/08/2020 19:33 (4), 03/17/2023 09:01 (3), 07/27/2025 16:01 (22)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!