QID 731100

Date Published: 2024-01-25

QID 731100: Liferay Portal SQL Injection Vulnerability (CVE-2022-42121)

Liferay Portal is an open-source enterprise web platform for building business solutions and collaborative applications.

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.

Affected Versions:
Liferay Portal 7.1.3
Liferay Portal 7.2.0 - 7.2.1
Liferay Portal 7.3.0 - 7.3.7
Liferay Portal 7.4.0 - 7.4.3.4
QID Detection Logic (Unauthenticated): This QID checks for vulnerable version of Liferay Portal in response banner.

Successful exploitation of this vulnerability allows remote authenticated attackers to execute arbitrary SQL commands via a crafted payload injected into a page template's 'Name' field.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as Critical - 9 severity.
  • Solution
    Vendor has released patch. For more info, please refer to Liferay Portal Security Advisory

    CVEs related to QID 731100

    Software Advisories
    Advisory ID Software Component Link
    CVE-2022-42121 URL Logo liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42121