CVE-2022-42122
Liferay Portal and Liferay DXP Vulnerable to SQL Injection via Friendly URL Module
Summary
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.0.3 for com.liferay:com.liferay.friendly.url.service -->
<!-- Update pom.xml dependency version to 7.3.10.u4 for com.liferay.portal:release.dxp.bom -->
<!-- Update pom.xml dependency version to 7.4.0-ga1 for com.liferay.portal:release.portal.bom -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| com.liferay:com.liferay.friendly.url.service | maven | 1.0.0, 1.0.1, 1.0.10, 1.0.11 (+189 more) | 4.0.3 |
| com.liferay.portal:release.dxp.bom | maven | 7.3.10.fp2 | 7.3.10.u4 |
| com.liferay.portal:release.portal.bom | maven | 7.3.7, 7.4.0 | 7.4.0-ga1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-42122ADVISORY
- https://github.com/liferay/liferay-portalPACKAGE
- https://issues.liferay.com/browse/LPE-17520WEB
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42122?p_r_p_assetEntryId=121613466&_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_redirect=https%3A%2F%2Fliferay.dev%3A443%2Fportal%2Fsecurity%2Fknown-vulnerabilities%3Fp_p_id%3Dcom_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_r_p_assetEntryId%3D121613466%26_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_cur%3D0%26p_r_p_resetCur%3DfalseWEB
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42122WEB
- https://web.archive.org/web/20221115051621/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42122WEB
- https://liferay.comWEB
Frequently Asked Questions
- What is CVE-2022-42122?
- Liferay Portal and Liferay DXP Vulnerable to SQL Injection via Friendly URL Module This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2022-42122?
- CVE-2022-42122 affects com.liferay:com.liferay.friendly.url.service, com.liferay.portal:release.dxp.bom and com.liferay.portal:release.portal.bom. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-42122 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2023-42498CRITICAL
Liferay Portal Language Override edit screen and Liferay DXP vulnerable to reflected Cross-site Scripting
- CVE-2024-25145CRITICAL
Liferay Portal stored cross-site scripting (XSS) vulnerability
- CVE-2024-8980CRITICAL
Liferay Portal and Liferay DXP Vulnerable to CSRF in the Script Console
- CVE-2024-25601CRITICAL
Liferay Portal Expando module and Liferay DXP vulnerable to stored Cross-site Scripting
- CVE-2024-25152CRITICAL
Liferay Portal Message Board widget and Liferay DXP vulnerable to stored Cross-site Scripting
- CVE-2024-26271HIGH
Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the My Account Widget
- CVE-2024-26273HIGH
Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the Content Page Editor
- CVE-2024-26272HIGH
Liferay Portal and Liferay DXP Vulnerable to Cross-Site Request Forgery (CSRF) via the Content Page Editor
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies