First published: Mon Jul 29 2024(Updated: )
### Impact This XSS vulnerability is about the system configs * design/header/welcome * design/header/logo_src * design/header/logo_src_small * design/header/logo_alt They are intended to enable admins to set a text in the two cases, and to define an image url for the other two cases. But because of previously missing escaping allowed to input arbitrary html and as a consequence also arbitrary JavaScript. While this is in most usage scenarios not a relevant issue, some people work with more restrictive roles in the backend. Here the ability to inject JavaScript with these settings would be an unintended and unwanted privilege. ### Patches _Has the problem been patched? What versions should users upgrade to?_ The problem is patched with Version 20.10.1 or higher. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ Possible mitigations are * Restricting access to the System Configs * checking templates where these settings are used to apply proper html filtering ### For Users relying on this possibility Some Users might actually rely on the ability to use html there. You can restore the previous behavior by making use of the new introduced `->getUnescapedValue()` method on this escaped elements. Developers should have a look at the newly introduced `Mage_Core_Model_Security_HtmlEscapedString` ### Credit Credit goes to Aakash Adhikari @justlife4x4 for finding this issue
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
composer/openmage/magento-lts | <20.10.1 | 20.10.1 |
OpenMage | <20.10.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-41676 is classified as a cross-site scripting (XSS) vulnerability affecting OpenMage Magento LTS versions up to 20.10.1.
To fix CVE-2024-41676, administrators should upgrade to the latest version of OpenMage Magento LTS that addresses this XSS vulnerability.
CVE-2024-41676 affects OpenMage Magento LTS versions up to 20.10.1.
The potential impacts of CVE-2024-41676 include unauthorized access and execution of scripts that can compromise user data or session.
CVE-2024-41676 can be exploited by attackers who can manipulate the system's configurations through XSS in the specified header settings.