CVE-2009-4305 SQL injection in n/a
Authenticated users can execute arbitrary SQL commands in Moodle's SCORM module via improper input handling in AICC CRS files.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2009-4305?
CVE-2009-4305 is a medium-severity SQL injection vulnerability in Moodle Moodle, published on 16 Dec 2009. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
SQL injection vulnerability in the SCORM module in Moodle 1.8 before 1.8.11 and 1.9 before 1.9.7 allows remote authenticated users to execute arbitrary SQL commands via vectors related to an "escaping issue when processing AICC CRS file (Course_Title)."
Weakness: CWE-89
Which versions are affected by CVE-2009-4305?
It affects 1 product.
Products include Moodle Moodle.
How do I fix CVE-2009-4305?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2009-4305 being exploited?
There is no known exploitation of CVE-2009-4305 in the wild and no public exploit code.
Other vulnerabilities in Moodle Moodle
- CVE-2006-4935 File upload in n/a
- CVE-2006-4936 Moodle does not properly validate module instance id
- CVE-2004-2233 Unknown "front page vulnerability with Moodle servers" for Moodle before 1.3.2 has unknown impact and attack vectors.
- CVE-2004-2235 Cross-site scripting in n/a
- CVE-2004-2236 Other in n/a
Sources
Also known as GHSA-7w7p-v23v-56qr.