Live threats

All CVEs / Moodle

CVE-2013-4313Moodle

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Sep 16, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
moodlemoodle≤ 2.2.11
moodlemoodle2.2.0
moodlemoodle2.2.1
moodlemoodle2.2.2
moodlemoodle2.2.3
moodlemoodle2.2.4
moodlemoodle2.2.5
moodlemoodle2.2.6
moodlemoodle2.2.7
moodlemoodle2.2.8
moodlemoodle2.2.9
moodlemoodle2.2.10
moodlemoodle2.3.0
moodlemoodle2.3.1
moodlemoodle2.3.2
moodlemoodle2.3.3
moodlemoodle2.3.4
moodlemoodle2.3.5
moodlemoodle2.3.6
moodlemoodle2.3.7
moodlemoodle2.3.8
moodlemoodle2.4.0
moodlemoodle2.4.1
moodlemoodle2.4.2
moodlemoodle2.4.3
moodlemoodle2.4.4
moodlemoodle2.4.5
moodlemoodle2.5.0
moodlemoodle2.5.1

Official sources

References

Links published by the sources. Open them with care.