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…
- 8.8HighCVSS base score
- 30.8%Exploitation in 30 daysEPSS · top 1.7% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it. A reference of the record is tagged as an exploit.
Show the exploits2
Exploit-DB1 entry
- Moodle 3.4.1 - Remote Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 46551webapps, phppublished 15 Mar 2019Not verified
References tagged exploit1 reference
- 46551 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By redhat
- 6 months later
· 6 months later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 30.8% · top 1.7% of all CVEs (10 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
Moodle 3.x unknown
- affected Moodle 3.x unknown
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistmoodle/moodleGHSA-xh2j-q4mc-v522 (opens in a new tab)
References
3
- https://moodle.org/mod/forum/discuss.php?d=371199 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 46551 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 104307 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-5790 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xh2j-q4mc-v522 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-1133)Record last updated .