CVE-2022-42122: Liferay Portal - SQL Injection
- Cve: CVE-2022-42122
- Name: Liferay Portal - SQL Injection
- Description: A SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through update 4 allows attackers to execute arbitrary SQL commands via a crafted payload injected into the `title` field of a friendly URL.
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
- Remediation: Update to the latest version of Liferay Portal or DXP that includes security patches for this vulnerability.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00869
- Epss percentile: 0.59531
- Assignee: [email protected]
- Published at: 2022-11-15T01:15:12Z
- Age in days: 1470
- Modified at: 2026-07-09T01:17:48Z
- References total: 2
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-42122
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
References
| Url | Source | Tags |
|---|---|---|
| https://issues.liferay.com/browse/LPE-17520 | nvd | Issue Tracking, Vendor Advisory |
| https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42122 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| liferay:liferay_portal | = 7.3.7 | no | nvd | /v1/products/liferay/liferay_portal |
| liferay:dxp | = 7.3 fix_pack_2 | no | nvd | /v1/products/liferay/dxp |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| liferay/liferay-portal | package | yes | /v1/repositories/liferay/liferay-portal |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 2947
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports