SecurityContext

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

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

References

Same in every row:

  • Source: nvd
UrlTags
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-74333Patch, Vendor Advisory
https://moodle.org/mod/forum/discuss.php?d=434581Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2083610Issue Tracking, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OGF35EN5K2R6X3NTY3XPZSJ3UDASMXI6/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PIMSIRKCFLIC646K4GMUSZU7THOUVPAJ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCTWSE3JDMSYL7DPCMXMMJEXZSS6VIA5/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
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

RepositoryLink kindsIndexedUrl
moodle/moodlecommit, fix, packageyes/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