CVE-2023-30944 json
Moodle: minor sql injection risk in external wiki method for listing pages
published 2023-05-02 3 y ago modified 2026-09-10 1 mo ago also BIT-moodle-2023-30944 , EUVD-2023-1494 , GHSA-7mmc-22g7-3xq2
- cvss
- 5.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
The vulnerability was found Moodle which exists due to insufficient sanitization of user-supplied data in external Wiki method for listing pages. A remote attacker can send a specially crafted request to the affected application and execute limited SQL commands within the application database.
Patch / fix
- packagist moodle/moodle 4.2.0-rc2
- bitnami moodle 3.9.21, 3.11.14, 4.0.8, 4.1.3
- moodle moodle 3.9.21, 3.11.14, 4.0.8, 4.1.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-2023-30944 updated cvss 5.6
moodle: minor SQL injection risk in external Wiki method for listing pages
-
Red Hat All currently supported Red Hat productsnot 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
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.14% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | <4.2.0-rc2 |
4.2.0-rc2 |
| bitnami | moodle | >=3.9.0, <3.9.21 >=3.11.0, <3.11.14 >=4.0.0, <4.0.8 >=4.1.0, <4.1.3 |
3.9.21 3.11.14 4.0.8 4.1.3 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-77187
web, patch
-
bugzilla.redhat.com
/show_bug.cgi?id=2188606
web, issue-tracking, patch, third-party-advisory, advisory
-
moodle.org
/mod/forum/discuss.php?d=446286
web, patch, vendor-advisory, advisory
-
github.com
/moodle/moodle/commit/5521d1d6e8bb8bebb76ad8154095f6b18ea26e7f
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/54TM5H5PDUDYXOQ7X7PPYWP4AJDAE73I/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/MZBWRVUJF7HI53XCJPJ3YJZPOV5HBRUY/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PBFSXRYLT4ICKJVQSRBAOUDMDRVSVBLS/
vendor-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2023-30944
advisory, web
-
github.com
/moodle/moodle
package
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/54TM5H5PDUDYXOQ7X7PPYWP4AJDAE73I
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/MZBWRVUJF7HI53XCJPJ3YJZPOV5HBRUY
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PBFSXRYLT4ICKJVQSRBAOUDMDRVSVBLS
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/54TM5H5PDUDYXOQ7X7PPYWP4AJDAE73I
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/MZBWRVUJF7HI53XCJPJ3YJZPOV5HBRUY
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/PBFSXRYLT4ICKJVQSRBAOUDMDRVSVBLS
web
Sources
- CVE List CVE-2023-30944
- GitHub Advisory GHSA-7mmc-22g7-3xq2
- NVD CVE-2023-30944
- OSV BIT-moodle-2023-30944
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.