SecurityContext

CVE-2022-42123: Liferay Portal - Unrestricted File Upload

  • Cve: CVE-2022-42123
  • Name: Liferay Portal - Unrestricted File Upload
  • Description: A Zip slip vulnerability in the Elasticsearch Connector in Liferay Portal 7.3.3 through 7.4.3.18, and Liferay DXP 7.3 before update 6, and 7.4 before update 19 allows attackers to create or overwrite existing files on the filesystem via the installation of a malicious Elasticsearch Sidecar plugin.
  • Impact: Attackers can overwrite or create arbitrary files, potentially leading to remote code execution or system compromise.
  • Remediation: Update to a version later than 7.4.3.18.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: file_system_write, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00849
  • Epss percentile: 0.58896
  • Assignee: [email protected]
  • Published at: 2022-11-15T01:15:13Z
  • Age in days: 1470
  • Modified at: 2026-07-09T01:17:48Z
  • Patch available: yes
  • References total: 2
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-42123
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

UrlSourceTags
https://issues.liferay.com/browse/LPE-17518nvdVendor Advisory
https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42123nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
liferay:liferay_portal>= 7.3.3, < 7.4.3.19nonvd/v1/products/liferay/liferay_portal
liferay:digital_experience_platform= 7.4, = 7.3nonvd/v1/products/liferay/digital_experience_platform

Projects

RepositoryLink kindsIndexedUrl
liferay/liferay-portalproductyes/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