Skip to content
Fencer Vulns
high 8.8

CVE-2018-1133 in the critical feed json

Moodle calculated question type allows remote code execution by Question authors

published 2018-05-25 8 y ago modified 2026-06-17 4 mo ago also GHSA-xh2j-q4mc-v522 , EUVD-2022-5790

cvss
8.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
30.8%
EPSS 30.8% chance of exploitation in 30 days, percentile 98%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • packagist moodle/moodle 3.1.12, 3.2.9, 3.3.6, 3.4.3

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1133 updated

moodle: Six security issues fixed in the latest release

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-46551)

Exploit prediction

30.81% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-46551 Moodle 3.4.1 - Remote Code Execution webapps, 2019-03-15

CVSS scores

assigned by version score vector
NVD 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
GitHub 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist moodle/moodle
>=3.1, <3.1.12
>=3.2, <3.2.9
>=3.3, <3.3.6
>=3.4, <3.4.3
3.1.12
3.2.9
3.3.6
3.4.3

Affected products

  • n/a Moodle 3.x unknown

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.