CVE-2022-30599: Moodle - SQL Injection
- Cve: CVE-2022-30599
- Name: Moodle - SQL Injection
- Description: A flaw was found in moodle where an SQL injection risk was identified in Badges code relating to configuring criteria.
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or database compromise.
- Remediation: Apply the latest security patches or update Moodle to the latest version.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: user_interaction
- Requirements: Attacker needs to interact with the configuration interface
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0141
- Epss percentile: 0.73362
- Assignee: [email protected]
- Published at: 2022-05-18T18:15:10Z
- Age in days: 1651
- Modified at: 2026-06-17T04:43:55Z
- Patch available: yes
- References total: 6
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-30599
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| moodle:moodle | = 4.0.0; >= 3.11, < 3.11.7; >= 3.10, < 3.10.11; >= 3.9, < 3.9.14 | /v1/products/moodle/moodle |
| fedoraproject:fedora | = 36, = 35, = 34 | /v1/products/fedoraproject/fedora |
| redhat:enterprise_linux | = 8.0 | /v1/products/redhat/enterprise_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| moodle/moodle | commit, fix, package | yes | /v1/repositories/moodle/moodle |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 62525
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports