OS Command Injection Affecting com.liferay.portal:portal-service package, versions [,6.2.0-B1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.33% (71st 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 OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMLIFERAYPORTAL-6150679
  • published12 Jan 2024
  • disclosed17 May 2022
  • creditq5438722

Introduced: 17 May 2022

CVE-2010-5327  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

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

Overview

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

Affected versions of this package are vulnerable to OS Command Injection via a crafted Velocity template. An attacker can execute arbitrary shell commands by sending a malicious request to the server.

CVSS Scores

version 3.1