Arbitrary File Upload Affecting com.liferay.portal:portal-service package, versions [,6.2.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
58.27% (99th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMLIFERAYPORTAL-13671404
  • published23 Oct 2025
  • disclosed16 Apr 2023
  • creditfu2x2000

Introduced: 16 Apr 2023

CVE-2021-33990  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade com.liferay.portal:portal-service to version 6.2.5 or higher.

Overview

com.liferay.portal:portal-service is a portal service package for Liferay.

Affected versions of this package are vulnerable to Arbitrary File Upload which allows Command=FileUpload&Type=File&CurrentFolder=/ requests when frmfolders.html exists.

Workaround

Use the portal.property dl.file.extensions to exclude PDFs from the list of acceptable files that can be uploaded to the document library.

CVSS Base Scores

version 3.1