Lucene search

K
githubGitHub Advisory DatabaseGHSA-5297-WRRP-RCJ7
HistoryApr 08, 2024 - 3:48 p.m.

Shopware Improper Session Handling in store-api account logout

2024-04-0815:48:27
CWE-613
GitHub Advisory Database
github.com
8
shopware
session handling
store-api
logout
vulnerability
php storefront
customerlogoutevent
patch
workaround
security plugin

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

Impact

When a authentificated request is made to POST /store-api/account/logout, the cart will be cleared, but the User won’t be logged out. This affects only the direct store-api usage, as the PHP Storefront listens additionally on CustomerLogoutEvent and invalidates the session additionally.

Patches

The problem has been fixed with Shopware 6.6.1.0 and 6.5.8.8.

Workarounds

When you are not able to update, you can install the latest version of the Shopware Security Plugin.

Affected configurations

Vulners
Node
shopwareshopwareRange<6.6.1.0
OR
shopwareshopwareRange<6.6.1.0
OR
shopwareshopwareRange<6.5.8.8
OR
shopwareshopwareRange<6.5.8.8

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

Related for GHSA-5297-WRRP-RCJ7