CVE-2013-4313Moodle
High 7.5 No auth needed
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Moodle.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | ≤ 2.2.11 |
| moodle | moodle | 2.2.0 |
| moodle | moodle | 2.2.1 |
| moodle | moodle | 2.2.2 |
| moodle | moodle | 2.2.3 |
| moodle | moodle | 2.2.4 |
| moodle | moodle | 2.2.5 |
| moodle | moodle | 2.2.6 |
| moodle | moodle | 2.2.7 |
| moodle | moodle | 2.2.8 |
| moodle | moodle | 2.2.9 |
| moodle | moodle | 2.2.10 |
| moodle | moodle | 2.3.0 |
| moodle | moodle | 2.3.1 |
| moodle | moodle | 2.3.2 |
| moodle | moodle | 2.3.3 |
| moodle | moodle | 2.3.4 |
| moodle | moodle | 2.3.5 |
| moodle | moodle | 2.3.6 |
| moodle | moodle | 2.3.7 |
| moodle | moodle | 2.3.8 |
| moodle | moodle | 2.4.0 |
| moodle | moodle | 2.4.1 |
| moodle | moodle | 2.4.2 |
| moodle | moodle | 2.4.3 |
| moodle | moodle | 2.4.4 |
| moodle | moodle | 2.4.5 |
| moodle | moodle | 2.5.0 |
| moodle | moodle | 2.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org Patch
- moodle.org Patch Vendor Advisory