Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2017-2641 EUVD-2022-5800GHSA-xhq3-455r-xv44

Moodle SQL injection via user preferences

Published Mar 26, 2017 · Updated Aug 5, 2024 · Assigned by redhat

Description

In Moodle 2.x and 3.x, SQL injection can occur via user preferences.

Affected products

VendorProductAffectedFixed
— Moodle 2.x and 3.x Moodle 2.x and 3.x —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist moodle/moodle >= 2.7, < 2.7.19 2.7.19 GHSA-xhq3-455r-xv44
Packagist moodle/moodle >= 3.0, < 3.0.9 3.0.9 GHSA-xhq3-455r-xv44
Packagist moodle/moodle >= 3.1, < 3.1.5 3.1.5 GHSA-xhq3-455r-xv44
Packagist moodle/moodle >= 3.2, < 3.2.2 3.2.2 GHSA-xhq3-455r-xv44

References