CVE-2011-1571: Liferay Portal Service Arbitrary Command Injection Vulnerability

Summary

13/05/2022
Yes i
Moderate
6.9

CVE-2011-1571: Liferay Portal vulnerable to arbitrary command injection. Affects com.liferay.portal:portal-service versions >= 5.0.0, < 6.0.6-ga. Fixed in 6.0.6-ga. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Liferay Portal is an open-source platform designed for building web applications and managing content. It provides a robust framework for creating enterprise-level applications with features such as user management, content management, and collaboration tools. The portal service is a core component that facilitates various functionalities, including the integration of third-party applications. However, certain versions of Liferay Portal are susceptible to vulnerabilities that can be exploited by attackers, leading to severe security risks.

Vulnerability Detail

The vulnerability identified as CVE-2011-1571 exists within the XSL Content portlet of Liferay Portal Community Edition (CE) versions 5.x and 6.x prior to 6.0.6 GA. When deployed on Apache Tomcat, this vulnerability allows remote attackers to execute arbitrary commands on the server. The root cause of this issue stems from insufficient input validation, which can be exploited through crafted requests, potentially leading to unauthorized access and control over the server environment.

How To Fix

Minimum fixed version

6.0.6-ga

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, it is recommended to restrict access to the XSL Content portlet and implement strict input validation on user inputs to mitigate the risk of exploitation until the package can be updated.

Conclusion

In summary, CVE-2011-1571 is a significant vulnerability in Liferay Portal that poses a risk of arbitrary command execution. It is crucial for users of affected versions to update to the latest patched version to safeguard their applications. Additionally, implementing workarounds can help mitigate risks until the update is applied.

See every vulnerability recorded for com.liferay.portal:portal-service →

Share this vulnerability

FAQ

CVE-2011-1571 is a vulnerability in Liferay Portal that allows remote attackers to execute arbitrary commands due to insufficient input validation in the XSL Content portlet.

The vulnerability affects Liferay Portal Community Edition (CE) versions 5.x and 6.x prior to 6.0.6 GA.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By simply uploading your pom.xml file, you can check for vulnerabilities without needing to access the code or install anything.

If exploited, this vulnerability can allow attackers to execute arbitrary commands on the server, potentially leading to unauthorized access, data breaches, and complete control over the affected system.

The best way to protect your application is to update to the patched version of Liferay Portal (6.0.6 GA or later) and implement strict input validation and access controls.

How To Fix

Minimum fixed version

6.0.6-ga

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback