Lucene search

K
githubGitHub Advisory DatabaseGHSA-C737-JHWR-FQXJ
HistoryMar 12, 2023 - 6:30 a.m.

Cross Site Scripting in eZ Platform Ibexa Kernel

2023-03-1206:30:21
CWE-79
GitHub Advisory Database
github.com
17
xss
file upload
security patch
configuration
blacklist
exploits
scriptable files
ez platform ibexa kernel

CVSS3

6.1

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

EPSS

0.001

Percentile

33.1%

Impact

In file upload it is possible by certain means to upload files like .html and .js. These may contain XSS exploits which will be run when links to them are accessed by victims.
Patches

Patches

The fix consists simply of adding common types of scriptable file types to the configuration of the already existing filetype blacklist feature. See “Patched versions”. As such, this can also be done manually, without installing the patched versions. This may be relevant if you are currently running a considerably older version of the kernel package and don’t want to upgrade it at this time. Please see the settting “ezsettings.default.io.file_storage.file_type_blacklist” at:
https://github.com/ezsystems/ezplatform-kernel/blob/master/eZ/Bundle/EzPublishCoreBundle/Resources/config/default_settings.yml#L109
Important note

Important note

You should adapt this setting to your needs. Do not add file types to the blacklist that you actually need to be able to upload. For instance, if you need your editors to be able to upload SVG files, then don’t blacklist that. Instead, you could e.g. use an approval workflow for such content.

Affected configurations

Vulners
Node
ezsystemsezplatform-kernelRange<1.3.1.1
OR
ezsystemsezplatform-kernelRange<1.2.5.1
OR
ezsystemsezpublish-kernelRange<7.5.15.2
OR
ezsystemsezpublish-kernelRange<6.13.8.2
VendorProductVersionCPE
ezsystemsezplatform-kernel*cpe:2.3:a:ezsystems:ezplatform-kernel:*:*:*:*:*:*:*:*
ezsystemsezpublish-kernel*cpe:2.3:a:ezsystems:ezpublish-kernel:*:*:*:*:*:*:*:*

CVSS3

6.1

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

EPSS

0.001

Percentile

33.1%

Related for GHSA-C737-JHWR-FQXJ