CVE-2008-6124 SQL injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary SQL commands in Moodle's HotPot module via crafted input, 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
Not needed
Fix
Available

What is CVE-2008-6124?

CVE-2008-6124 is a high-severity SQL injection vulnerability in Debian Debian Linux, published on 13 Feb 2009. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SQL injection vulnerability in the hotpot_delete_selected_attempts function in report.php in the HotPot module in Moodle 1.6 before 1.6.7, 1.7 before 1.7.5, 1.8 before 1.8.6, and 1.9 before 1.9.2 allows remote attackers to execute arbitrary SQL commands via a crafted selected attempt.

Weakness: CWE-89

Which versions are affected by CVE-2008-6124?

It affects 2 products.

Products include Debian Debian Linux, Moodle Moodle.

How do I fix CVE-2008-6124?

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-2008-6124 being exploited?

There is no known exploitation of CVE-2008-6124 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-m38p-4c43-vjrc.

Is CVE-2008-6124 in your software?

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

Check your SBOMs for free