Vulnerability Name:

CVE-2015-3181 (CCN-103228)

Assigned:2015-05-18
Published:2015-05-18
Updated:2020-12-01
Summary:files/externallib.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 does not consider the moodle/user:manageownfiles capability before approving a private-file upload, which allows remote authenticated users to bypass intended file-management restrictions by using web services to perform uploads after this capability has been revoked.
CVSS v3 Severity:5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
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): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:4.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:P/A:N)
3.0 Low (Temporal CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:P/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
3.7 Low (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-264
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2015-3181

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

Source: MLIST
Type: UNKNOWN
[oss-security] 20150518 Moodle security advisories [vs]

Source: BID
Type: UNKNOWN
74728

Source: CCN
Type: BID-74728
Moodle CVE-2015-3181 Security Bypass Vulnerability

Source: SECTRACK
Type: UNKNOWN
1032358

Source: XF
Type: UNKNOWN
moodle-cve20153181-sec-bypass(103228)

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

Source: CCN
Type: Moodle Security Advisory MSA-15-0025
Capability to manage own files is not respected in Web Services

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2015-3181

Vulnerable Configuration:Configuration 1:
  • cpe:/a:moodle:moodle:2.5.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.10:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.9:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.0:-:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.8:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.6:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:*:*:*:*:*:*:*:* (Version <= 2.5.9)
  • OR cpe:/a:moodle:moodle:2.5.8:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.1:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.5.0:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.3:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.2:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.4:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.5:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:moodle:moodle:2.8.5:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.6.10:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.7.7:*:*:*:*:*:*:*
  • OR cpe:/a:moodle:moodle:2.8.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.bionic:def:201531810000000
    V
    CVE-2015-3181 on Ubuntu 18.04 LTS (bionic) - low.
    2015-06-01
    oval:com.ubuntu.artful:def:20153181000
    V
    CVE-2015-3181 on Ubuntu 17.10 (artful) - low.
    2015-06-01
    oval:com.ubuntu.trusty:def:20153181000
    V
    CVE-2015-3181 on Ubuntu 14.04 LTS (trusty) - low.
    2015-06-01
    oval:com.ubuntu.xenial:def:201531810000000
    V
    CVE-2015-3181 on Ubuntu 16.04 LTS (xenial) - low.
    2015-06-01
    oval:com.ubuntu.bionic:def:20153181000
    V
    CVE-2015-3181 on Ubuntu 18.04 LTS (bionic) - low.
    2015-06-01
    oval:com.ubuntu.xenial:def:20153181000
    V
    CVE-2015-3181 on Ubuntu 16.04 LTS (xenial) - low.
    2015-06-01
    oval:com.ubuntu.disco:def:201531810000000
    V
    CVE-2015-3181 on Ubuntu 19.04 (disco) - low.
    2015-06-01
    oval:com.ubuntu.cosmic:def:20153181000
    V
    CVE-2015-3181 on Ubuntu 18.10 (cosmic) - low.
    2015-06-01
    oval:com.ubuntu.cosmic:def:201531810000000
    V
    CVE-2015-3181 on Ubuntu 18.10 (cosmic) - low.
    2015-06-01
    oval:com.ubuntu.precise:def:20153181000
    V
    CVE-2015-3181 on Ubuntu 12.04 LTS (precise) - low.
    2015-06-01
    BACK
    moodle moodle 2.5.3
    moodle moodle 2.5.2
    moodle moodle 2.6.5
    moodle moodle 2.6.4
    moodle moodle 2.7.5
    moodle moodle 2.7.4
    moodle moodle 2.8.2
    moodle moodle 2.8.3
    moodle moodle 2.5.7
    moodle moodle 2.5.6
    moodle moodle 2.6.10
    moodle moodle 2.6.9
    moodle moodle 2.6.1
    moodle moodle 2.6.0
    moodle moodle 2.7.1
    moodle moodle 2.7.0
    moodle moodle 2.5.5
    moodle moodle 2.5.4
    moodle moodle 2.6.8
    moodle moodle 2.6.7
    moodle moodle 2.6.6
    moodle moodle 2.7.7
    moodle moodle 2.7.6
    moodle moodle 2.8.0
    moodle moodle 2.8.1
    moodle moodle *
    moodle moodle 2.5.8
    moodle moodle 2.5.1
    moodle moodle 2.5.0
    moodle moodle 2.6.3
    moodle moodle 2.6.2
    moodle moodle 2.7.3
    moodle moodle 2.7.2
    moodle moodle 2.8.4
    moodle moodle 2.8.5
    moodle moodle 2.8.5
    moodle moodle 2.6.10
    moodle moodle 2.7.7
    moodle moodle 2.8.0