PT-2021-18050 · Liferay · Liferay Portal+1
Published
2021-05-17
·
Updated
2022-05-24
·
CVE-2021-29053
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
Liferay Portal versions 7.3.5 and earlier
Liferay DXP versions 7.3 before fix pack 1
Description:
The issue allows remote authenticated users to execute arbitrary SQL commands via the
classPKField parameter to (1) CommerceChannelRelFinder.countByC C, or (2) CommerceChannelRelFinder.findByC C. This enables attackers to inject malicious SQL code, potentially leading to data tampering or unauthorized access.Recommendations:
For Liferay Portal version 7.3.5, update to a version that includes fix pack 1 or later to resolve the issue.
For Liferay DXP version 7.3 before fix pack 1, apply fix pack 1 or later to address the vulnerability.
As a temporary workaround, consider restricting access to the
CommerceChannelRelFinder.countByC C and CommerceChannelRelFinder.findByC C functions until a patch is available.
Avoid using the classPKField parameter in the affected API endpoints until the issue is resolved.Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Liferay Dxp
Liferay Portal