Lucene search

K
githubGitHub Advisory DatabaseGHSA-7733-HJV6-4H47
HistoryOct 08, 2020 - 7:55 p.m.

Cross-Site Scripting in ternary conditional operator

2020-10-0819:55:53
CWE-79
CWE-601
GitHub Advisory Database
github.com
31

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

45.9%

> ### Meta
> * CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N/E:F/RL:O/RC:C(5.0)
> * CWE-79


:information_source:  This vulnerability has been fixed in May 2019 already, CVE and GHSA were assigned later in October 2020


Problem

It has been discovered that the Fluid Engine (package typo3fluid/fluid) is vulnerable to cross-site scripting when making use of the ternary conditional operator in templates like the following.

{showFullName ? fullName : defaultValue}

Solution

Update to versions 2.0.5, 2.1.4, 2.2.1, 2.3.5, 2.4.1, 2.5.5 or 2.6.1 of this typo3fluid/fluid package that fix the problem described.

Updated versions of this package are bundled in following TYPO3 (typo3/cms-core) releases:

  • TYPO3 v8.7.25 (using typo3fluid/fluid v2.5.5)
  • TYPO3 v9.5.6 (using typo3fluid/fluid v2.6.1)

Credits

Thanks to Bill Dagou who reported this issue and to TYPO3 core merger Claus Due who fixed the issue.

References

Affected configurations

Vulners
Node
typo3cms_poll_system_extensionRange<9.5.6
OR
typo3cms_poll_system_extensionRange<8.7.25
OR
typo3cms_poll_system_extensionRange<9.5.6
OR
typo3cms_poll_system_extensionRange<8.7.25
OR
typo3fluidfluidRange<2.6.1
OR
typo3fluidfluidRange<2.5.5
OR
typo3fluidfluidRange<2.4.1
OR
typo3fluidfluidRange<2.3.5
OR
typo3fluidfluidRange<2.2.1
OR
typo3fluidfluidRange<2.1.4
OR
typo3fluidfluidRange<2.0.5

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

0.001 Low

EPSS

Percentile

45.9%