SQL Injection in Moodle
CVE-2022-30599
A flaw was found in moodle where an SQL injection risk was identified in Badges code relating to configuring criteria.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.014, 73.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Moodle — versions 4.0.0
- Fedoraproject Fedora — versions 34, 35, 36
- Red Hat Enterprise Linux — versions 8.0
- Moodle — versions Affects : 4.0, 3.11 to 3.11.6, 3.10 to 3.10.10, 3.9 to 3.9.13 and earlier unsupported versions
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (jev770/badmoodle-scan). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- moodle.org/mod/forum/discuss.php (Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- git.moodle.org/gw (Patch, Vendor Advisory)
- FEDORA-2022-89bfefbe48 (vendor-advisory)
- FEDORA-2022-bd4457bcc4 (vendor-advisory)
- FEDORA-2022-530fdc5202 (vendor-advisory)