Shopware Remote Code Execution Vulnerability
Critical severity
GitHub Reviewed
Published
May 21, 2024
to the GitHub Advisory Database
•
Updated May 21, 2024
Description
Published to the GitHub Advisory Database
May 21, 2024
Reviewed
May 21, 2024
Last updated
May 21, 2024
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.
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:References