SecurityContext

CVE-2008-6124: Moodle - SQL Injection

  • Cve: CVE-2008-6124
  • Name: Moodle - SQL Injection
  • 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.
  • Impact: Remote attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
  • Remediation: Update to Moodle 1.6.7, 1.7.5, 1.8.6, or 1.9.2 or later versions.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Epss score: 0.01171
  • Epss percentile: 0.68234
  • Assignee: [email protected]
  • Published at: 2009-02-13T01:30:00Z
  • Age in days: 6493
  • Modified at: 2026-06-16T23:01:39Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2008-6124
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
http://cvs.moodle.org/moodle/mod/hotpot/report.php?r1=1.8.6.1&r2=1.8.6.2nvd2009-02-13

References

Same in every row:

  • Source: nvd
UrlTags
http://moodle.org/mod/forum/discuss.php?d=101402Patch, Vendor Advisory
http://cvs.moodle.org/moodle/mod/hotpot/report.php?r1=1.8.6.1&r2=1.8.6.2Exploit, Vendor Advisory
http://www.debian.org/security/2008/dsa-1691Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
moodle:moodle>= 1.9, < 1.9.2; >= 1.8, < 1.8.6; >= 1.7, < 1.7.5; >= 1.6, < 1.6.7nonvd/v1/products/moodle/moodle
debian:debian_linux= 4.0nonvd/v1/products/debian/debian_linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2009-02-13
  • Remote: yes
  • Exposed hosts: 4706702
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports