Skip to main content
Public proof of conceptFix available

CVE-2018-1133

A public proof of concept exists; no exploitation attested.

  • Published2018-05-25
  • Fixed in3.4.3 · 3.3.6 · 3.2.9 · 3.1.12
  • WeaknessCWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2018-05-2512:29CVE publishedNVD
  2. 2019-03-15Exploit-DB entryExploit-DB

Observed activity

isMalicious corpus · updated 2026-11-03 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2018-1133?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2018-1133?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV · NVD
moodle/moodle
BranchAffectedFixed in
3.4≥ 3.4, < 3.4.33.4.3
3.3≥ 3.3, < 3.3.63.3.6
3.2≥ 3.2, < 3.2.93.2.9
3.1≥ 3.1, < 3.1.123.1.12
Moodle
BranchAffectedFixed in
3.1≥ 3.1.0, ≤ 3.1.11no fix published
3.2≥ 3.2.0, ≤ 3.2.8no fix published
3.3≥ 3.3.0, ≤ 3.3.5no fix published
3.4≥ 3.4.0, ≤ 3.4.2no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • moodleUbuntu:Pro:18.04:LTSall versions · no fixed version listed
  • moodleUbuntu:Pro:16.04:LTSall versions · no fixed version listed

Vendor advisories

  • CVE-2018-1133 Red Hat Product Security

    moodle: Six security issues fixed in the latest release

Full record on NVD

Fix

  1. Update moodle/moodle to 3.4.3 · 3.3.6 · 3.2.9 · 3.1.12

Advisories and patches

Detection

read 2026-11-03 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-46551
Exploit-DB
Proof-of-concept repositories
3 repositories, unverifieddarrynten/MoodleExploitFeidao-fei/MOODLE-3.X-Remote-Code-ExecutionThat-Guy-Steve/CVE-2018-1133-Exploit
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2018-05-25
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-xh2j-q4mc-v522

Frequently asked questions

What is CVE-2018-1133?

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.

Is CVE-2018-1133 actively exploited?

Active exploitation of CVE-2018-1133 has not been confirmed. Its EPSS score was 30.8% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-1133?

CVE-2018-1133 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running moodle/moodle? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record