8.8
HIGH
CVE-2022-42121
Liferay Portal SQL Injection Vulnerability
Description

A SQL injection vulnerability in the Layout module in Liferay Portal 7.1.3 through 7.4.3.4, and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 17, 7.3 before service pack 3, and 7.4 GA allows remote authenticated attackers to execute arbitrary SQL commands via a crafted payload injected into a page template's 'Name' field.

INFO

Published Date :

Nov. 15, 2022, 1:15 a.m.

Last Modified :

Nov. 17, 2022, 3 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2022-42121 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Liferay liferay_portal
2 Liferay dxp
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-42121.

URL Resource
http://liferay.com Vendor Advisory
https://issues.liferay.com/browse/LPE-17414 Issue Tracking Vendor Advisory
https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42121 Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-42121 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-42121 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Nov. 17, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://liferay.com No Types Assigned http://liferay.com Vendor Advisory
    Changed Reference Type https://issues.liferay.com/browse/LPE-17414 No Types Assigned https://issues.liferay.com/browse/LPE-17414 Issue Tracking, Vendor Advisory
    Changed Reference Type https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42121 No Types Assigned https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42121 Vendor Advisory
    Added CWE NIST CWE-89
    Added CPE Configuration OR *cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:* versions from (including) 7.1.3 up to (including) 7.4.3.4
    Added CPE Configuration OR *cpe:2.3:a:liferay:dxp:7.1:-:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_1:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_10:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_11:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_12:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_13:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_14:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_15:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_16:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_17:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_18:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_19:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_2:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_20:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_21:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_22:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_23:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_24:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_25:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_3:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_4:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_5:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_6:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_7:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_8:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.1:fix_pack_9:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:-:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_1:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_10:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_11:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_12:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_13:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_14:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_15:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_2:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_3:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_4:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_5:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_6:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_7:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_8:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.2:fix_pack_9:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.3:-:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.3:sp1:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.3:sp2:*:*:*:*:*:* *cpe:2.3:a:liferay:dxp:7.4:ga1:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:* versions from (including) 7.1.0 up to (including) 7.4.2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-42121 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.16 }} -0.03%

score

0.53449

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability