SecurityContext

CVE-2013-4313: Moodle - SQL Injection

  • Cve: CVE-2013-4313
  • Name: Moodle - SQL Injection
  • Description: Moodle through 2.2.11, 2.3.x before 2.3.9, 2.4.x before 2.4.6, and 2.5.x before 2.5.2 does not prevent use of '\0' characters in query strings, which might allow remote attackers to conduct SQL injection attacks against Microsoft SQL Server via a crafted string.
  • Impact: Remote attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
  • Remediation: Update to a version this CVE does not affect; its products list the affected version ranges.
  • 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.01206
  • Epss percentile: 0.6911
  • Assignee: [email protected]
  • Published at: 2013-09-16T13:02:48Z
  • Age in days: 4817
  • Modified at: 2026-06-16T23:57:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2013-4313
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

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

References

UrlSourceTags
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-40676nvdPatch
https://moodle.org/mod/forum/discuss.php?d=238396nvdPatch, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
moodle:moodle= 2.5.1, = 2.5.0, = 2.4.5, = 2.4.4, = 2.4.3, = 2.4.2, = 2.4.1, = 2.4.0, = 2.3.8, = 2.3.7, = 2.3.6, = 2.3.5, = 2.3.4, = 2.3.3, = 2.3.2, = 2.3.1, = 2.3.0, <= 2.2.11, = 2.2.10, = 2.2.9, = 2.2.8, = 2.2.7, = 2.2.6, = 2.2.5, = 2.2.4, = 2.2.3, = 2.2.2, = 2.2.1, = 2.2.0nonvd/v1/products/moodle/moodle

Index

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

Exploitation

  • Remote: yes
  • Exposed hosts: 62525
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports