PT-2024-29501 · Adobe · Magento
Justlife4X4
·
Published
2024-07-29
·
Updated
2024-08-23
·
CVE-2024-41676
CVSS v4.0
5.1
Medium
| Vector | AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N |
Name of the Vulnerable Software and Affected Versions
Magento-lts versions prior to 20.10.1
Description
This issue affects the design/header/welcome, design/header/logo src, design/header/logo src small, and design/header/logo alt system configs, which are intended to enable admins to set a text or define an image URL. Due to previously missing escaping, it allowed input of arbitrary HTML and, as a consequence, arbitrary JavaScript. This could be an issue in scenarios where users work with more restrictive roles in the backend, potentially leading to unintended privilege escalation.
Recommendations
For versions prior to 20.10.1, upgrade to Version 20.10.1 or higher to patch the issue.
As a temporary workaround, consider restricting access to the System Configs.
Check templates where these settings are used to apply proper HTML filtering.
For users relying on the ability to use HTML in these settings, restore the previous behavior by using the new introduced
->getUnescapedValue() method on escaped elements, and review the newly introduced Mage Core Model Security HtmlEscapedString.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Magento