Lucene search

K
osvGoogleOSV:GHSA-7336-GHHP-F2QJ
HistoryMay 21, 2024 - 8:52 p.m.

Shopware Remote Code Execution Vulnerability

2024-05-2120:52:57
Google
osv.dev
2
shopware
remote code execution
vulnerability
template
emotion template
responsive template
path
file
themes
plugins

7.4 High

AI Score

Confidence

Low

Under certain circumstances, it’s possible to execute an unauthorized foreign code in Shopware in versions prior to 5.2.16. One possible threat is if a template that doesn’t derive from the Shopware standard has been completely copied. Themes or plugins that execute or overwrite the following template code are vulnerable.

  • Affected file: emotion.tpl

Path template file “Emotion template”: templates / _default / frontend / forms / elements.tpl
Path template file “Responsive template”: themes/Frontend/Bare/frontend/forms/elements.tpl

The complete line beginning with: {eval var=$sSupport.sFields[$sKey]... should be exchanged with the following:

{$sSupport.sFields[$sKey]|replace:'{literal}':''|replace:'{/literal}':''|replace:'%*%':"{s name='RequiredField' namespace='frontend/register/index'}{/s}"}
CPENameOperatorVersion
shopware/shopwareeq5.2.15

7.4 High

AI Score

Confidence

Low