{"id":"CVE-2017-2641","published":"2017-03-26T18:00:00Z","modified":"2024-08-05T14:02:07Z","title":"In Moodle 2.x and 3.x, SQL injection can occur via user preferences","vendor":null,"product":null,"tier":"tail","description":{"text":"In Moodle 2.x and 3.x, SQL injection can occur via user preferences.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.1453,"percentile":0.96722,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/41828/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.securityfocus.com/bid/96977","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=349419","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1038174","tags":["vdb-entry","x_refsource_SECTRACK"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.34},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-04-06"},"first":{"date":"2017-04-06","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/41828"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"Moodle 2.x and 3.x","versions":["Moodle 2.x and 3.x"]}],"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=2.7, <2.7.19",">=3.0, <3.0.9",">=3.1, <3.1.5",">=3.2, <3.2.2"],"patched":["2.7.19","3.0.9","3.1.5","3.2.2"],"from":["GHSA-xhq3-455r-xv44"],"provenance":"source"}],"summary":{"text":"SQL injection exists in Moodle 2.x and 3.x through the user preferences component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:49:47Z"},"euvd":{"id":"EUVD-2022-5800","exploited":false,"provenance":"source"},"exploits":[{"id":41828,"url":"https://www.exploit-db.com/exploits/41828","title":"Moodle 2.x/3.x - SQL Injection","date":"2017-04-06","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/41828/","https://www.exploit-db.com/exploits/41828"],"lineage":{"packageHistory":[{"cve":"CVE-2019-3809","published":"2019-03-25","fixed":"3.1.16","kev":false},{"cve":"CVE-2017-2576","published":"2017-01-20","fixed":"3.2.1","kev":false,"link":{"from":"CVE-2017-2576","to":"CVE-2017-2641","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"2.7.18","toFixed":"2.7.19","daysApart":65},{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"3.0.8","toFixed":"3.0.9","daysApart":65}]}},{"cve":"CVE-2017-2578","published":"2017-01-20","fixed":"3.2.1","kev":false,"link":{"from":"CVE-2017-2578","to":"CVE-2017-2641","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"3.1.4","toFixed":"3.1.5","daysApart":65}]}},{"cve":"CVE-2017-2641","published":"2017-03-26","fixed":"3.2.2","kev":false},{"cve":"CVE-2017-2643","published":"2017-03-26","fixed":"3.2.2","kev":false},{"cve":"CVE-2017-2644","published":"2017-03-26","fixed":"3.2.2","kev":false},{"cve":"CVE-2017-2645","published":"2017-03-26","fixed":"3.2.2","kev":false},{"cve":"CVE-2017-7489","published":"2017-05-15","fixed":"3.2.3","kev":false,"link":{"from":"CVE-2017-2641","to":"CVE-2017-7489","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"2.7.19","toFixed":"2.7.20","daysApart":50},{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"3.0.9","toFixed":"3.0.10","daysApart":50}]}},{"cve":"CVE-2017-7490","published":"2017-05-15","fixed":"3.2.3","kev":false,"link":{"from":"CVE-2017-2641","to":"CVE-2017-7490","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"2.7.19","toFixed":"2.7.20","daysApart":50},{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"3.0.9","toFixed":"3.0.10","daysApart":50}]}},{"cve":"CVE-2017-7491","published":"2017-05-15","fixed":"3.2.3","kev":false,"link":{"from":"CVE-2017-2641","to":"CVE-2017-7491","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"2.7.19","toFixed":"2.7.20","daysApart":50},{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"3.0.9","toFixed":"3.0.10","daysApart":50}]}}],"package":"Packagist:moodle/moodle"}}