Vulnerability Name:

CVE-2013-4313 (CCN-87149)

Assigned:2013-09-16
Published:2013-09-16
Updated:2020-12-01
Summary: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.
CVSS v3 Severity:7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
6.5 Medium (Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
6.5 Medium (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-89
Vulnerability Consequences:Data Manipulation
References:Source: MITRE
Type: CNA
CVE-2013-4313

Source: CONFIRM
Type: Patch
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-40676

Source: CCN
Type: OSVDB ID: 97356
Moodle Query String NULL Byte SQL Injection

Source: CCN
Type: BID-62410
Moodle CVE-2013-4313 SQL Injection Vulnerability

Source: XF
Type: UNKNOWN
moodle-cve20134313-sql-injection(87149)

Source: CCN
Type: Moodle Web site
Moodle.org: open-source community-based tools for learning

Source: CCN
Type: MSA-13-0033
Potential SQL injection in Moodle's SQL Server driver

Source: CONFIRM
Type: Patch, Vendor Advisory
https://moodle.org/mod/forum/discuss.php?d=238396

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2013-4313

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:2.3.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.9:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.10:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version <= 2.2.11)
  • OR cpe:/a:moodle:moodle:2.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.3.8:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.2.8:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:2.3.8:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.4.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.precise:def:20134313000
    V
    CVE-2013-4313 on Ubuntu 12.04 LTS (precise) - medium.
    2013-09-16
    oval:com.ubuntu.trusty:def:20134313000
    V
    CVE-2013-4313 on Ubuntu 14.04 LTS (trusty) - medium.
    2013-09-16
    oval:com.ubuntu.xenial:def:20134313000
    V
    CVE-2013-4313 on Ubuntu 16.04 LTS (xenial) - medium.
    2013-09-16
    oval:com.ubuntu.xenial:def:201343130000000
    V
    CVE-2013-4313 on Ubuntu 16.04 LTS (xenial) - medium.
    2013-09-16
    BACK
    moodle moodle 2.3.3
    moodle moodle 2.3.4
    moodle moodle 2.3.5
    moodle moodle 2.3.6
    moodle moodle 2.2.9
    moodle moodle 2.4.1
    moodle moodle 2.4.2
    moodle moodle 2.4.3
    moodle moodle 2.4.4
    moodle moodle 2.2.10
    moodle moodle *
    moodle moodle 2.2.2
    moodle moodle 2.2.3
    moodle moodle 2.5.1
    moodle moodle 2.3.0
    moodle moodle 2.3.2
    moodle moodle 2.3.7
    moodle moodle 2.2.0
    moodle moodle 2.2.5
    moodle moodle 2.2.7
    moodle moodle 2.5.0
    moodle moodle 2.4.0
    moodle moodle 2.4.5
    moodle moodle 2.3.1
    moodle moodle 2.3.8
    moodle moodle 2.2.1
    moodle moodle 2.2.4
    moodle moodle 2.2.6
    moodle moodle 2.2.8
    moodle moodle 2.3.8
    moodle moodle 2.4.5
    moodle moodle 2.5.1