Arbitrary File Upload Affecting com.liferay.portal:portal-impl package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
5.09% (94th 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-5425092
  • published16 Apr 2023
  • 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?

A fix was pushed into the master branch but not yet published.

Overview

com.liferay.portal:portal-impl is a Portal Impl

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 Scores

version 3.1