Vulnerability Name:

CVE-2021-40848 (CCN-212685)

Assigned:2021-06-01
Published:2021-06-01
Updated:2021-11-05
Summary:In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, exported CSV files could contain characters that a spreadsheet program could interpret as a command, leading to execution of a malicious string locally on a device, aka CSV injection.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
5.9 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
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:6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
4.6 Medium (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-1236
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-40848

Source: CCN
Type: Launchpad Bug #1930471
Exporting of CSV files needs to sanitize data

Source: MISC
Type: Vendor Advisory
https://bugs.launchpad.net/mahara/+bug/1930471

Source: XF
Type: UNKNOWN
mahara-cve202140848-cmd-exec(212685)

Source: CCN
Type: Mahara Web site
Mahara

Source: MISC
Type: Vendor Advisory
https://mahara.org/interaction/forum/topic.php?id=8950

Vulnerable Configuration:Configuration 1:
  • cpe:/a:mahara:mahara:*:*:*:*:*:*:*:* (Version < 20.04.5)
  • OR cpe:/a:mahara:mahara:*:*:*:*:*:*:*:* (Version >= 20.10.0 and < 20.10.3)
  • OR cpe:/a:mahara:mahara:*:*:*:*:*:*:*:* (Version >= 21.04.0 and < 21.04.2)
  • OR cpe:/a:mahara:mahara:21.10.0:rc1:*:*:*:*:*:*
  • OR cpe:/a:mahara:mahara:21.10.0:rc2:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:mahara:mahara:20.04:rc1:*:*:*:*:*:*
  • OR cpe:/a:mahara:mahara:20.10:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    mahara mahara *
    mahara mahara *
    mahara mahara *
    mahara mahara 21.10.0 rc1
    mahara mahara 21.10.0 rc2
    mahara mahara 20.04 rc1
    mahara mahara 20.10