CVE-2012-3395 SQL injection in n/a

Medium 6.5 Published Updated

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.

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-cfc8-jvc8-5w3f.

Is CVE-2012-3395 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free