CVE-2012-3395 SQL injection in n/a
Authenticated users can execute arbitrary SQL commands in Moodle via crafted form data, potentially compromising database integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2012-3395?
CVE-2012-3395 is a medium-severity SQL injection vulnerability in Moodle Moodle, published on 23 Jul 2012. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
SQL injection vulnerability in mod/feedback/complete.php in Moodle 2.0.x before 2.0.10, 2.1.x before 2.1.7, and 2.2.x before 2.2.4 allows remote authenticated users to execute arbitrary SQL commands via crafted form data.
Weakness: CWE-89
Which versions are affected by CVE-2012-3395?
It affects 1 product.
Products include Moodle Moodle.
How do I fix CVE-2012-3395?
No fix has been published for CVE-2012-3395 yet. Limit exposure of the affected software until one is available.
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-2012-3395 being exploited?
There is no known exploitation of CVE-2012-3395 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-cfc8-jvc8-5w3f.