CVE-2021-43852 JavaScript Prototype Pollution in oro/platform
Attackers can inject properties into JavaScript prototypes via crafted requests, potentially leading to code execution in vulnerable libraries.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-43852?
CVE-2021-43852 is a high-severity code injection vulnerability in oroinc platform, published on 4 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
OroPlatform is a PHP Business Application Platform. In affected versions by sending a specially crafted request, an attacker could inject properties into existing JavaScript language construct prototypes, such as objects. Later this injection may lead to JS code execution by libraries that are vulnerable to Prototype Pollution. This issue has been patched in version 4.2.8. Users unable to upgrade may configure a firewall to drop requests containing next strings: `__proto__` , `constructor[prototype]`, and `constructor.prototype` to mitigate this issue.
Which versions are affected by CVE-2021-43852?
4 open source packages ship an affected version, including oro/platform. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
oro/platform Packagist | From 4.1.0 | 4.1.14 |
oro/platform Packagist | From 4.1.0 | 4.1.14 |
oro/platform Packagist | From 4.2.0 | 4.2.8 |
oro/platform Packagist | From 4.2.0 | 4.2.8 |
Products include Oroinc Oroplatform.
How do I fix CVE-2021-43852?
Upgrade oro/platform to a fixed version for your release line: 4.1.14 or 4.2.8.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-43852 being exploited?
There is no known exploitation of CVE-2021-43852 in the wild and no public exploit code.
Other vulnerabilities in oroinc platform
- CVE-2022-41951 OroPlatform vulnerable to path traversal during temporary file manipulations
- CVE-2021-41236 XSS vulnerability in oro/platform
- CVE-2024-50677 Cross-site scripting in n/a
- CVE-2023-32062 OroCalendarBundle has incorrect system calendar events visibility
- CVE-2023-45824 OroPlatform's pinned entity creation form shows pages of other users
Sources
Also known as GHSA-jx5q-g37m-h5hj.