CVE-2022-35692: Magento Community Edition Improper Access Control Vulnerability
Summary
CVE-2022-35692: Magento Open Source has Improper Access Control vulnerability. Affects magento/community-edition across 2 version ranges.
>= 2.3.7-p1, < 2.3.7-p4
>= 2.4.3-p1, < 2.4.3-p3
Fixed in 2.3.7-p4 or 2.4.3-p3, depending on the release line you run. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Magento is a leading open-source e-commerce platform that provides a flexible shopping cart system, powerful marketing tools, and a customizable interface. It is widely used by businesses to create and manage online stores. However, certain versions of Magento Community Edition have been found to have an improper access control vulnerability that could expose sensitive user information.
Vulnerability Detail
The vulnerability arises from improper access control mechanisms in Adobe Commerce versions 2.4.3-p2 and earlier, 2.3.7-p3 and earlier, and 2.4.4 and earlier. This flaw allows attackers to bypass security features and potentially leak minor information from another user's account without requiring any user interaction. The issue is classified under CWE-863, indicating a weakness in the access control enforcement.
How To Fix
Fixed versions by release line
The minimum fixed version depends on the release line you run.
-
>= 2.3.7-p1, < 2.3.7-p42.3.7-p4composer require magento/community-edition:2.3.7-p4 -
>= 2.4.3-p1, < 2.4.3-p32.4.3-p3composer require magento/community-edition:2.4.3-p3
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
As a temporary workaround, you can restrict access to sensitive user information by implementing additional access control checks in your application code until the package is updated. Ensure that user roles and permissions are correctly configured to limit data exposure.
Conclusion
The improper access control vulnerability in Magento Community Edition poses a moderate risk to user data security. It is crucial for users to update their installations to the latest patched versions to protect against potential information leaks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for magento/community-edition →
FAQ
CVE-2022-35692 is a vulnerability in Magento Community Edition that allows improper access control, potentially leading to unauthorized information disclosure.
Affected versions include Magento Community Edition 2.4.3-p2 and earlier, 2.3.7-p3 and earlier, and 2.4.4 and earlier.
You can use Vulert, a tool that monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
Exploitation of this vulnerability could allow attackers to leak minor information from another user's account, which may lead to further attacks or data breaches.
Yes, patches are available. Update to Magento Community Edition 2.4.3-p3 or 2.3.7-p4 to mitigate the vulnerability.
References
Related vulnerabilities
Recent vulnerabilities recorded for magento/community-edition.