CVE-2011-1571 — portal-service
Fix: liferay/liferay-portal@55502caCVE-2011-1571 is a security vulnerability in com.liferay.portal:portal-service. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for com.liferay.portal:portal-service — see the affected versions and patch details below.
Liferay Portal vulnerable to arbitrary command injection
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
com.liferay.portal:portal-serviceReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Unspecified vulnerability in the XSL Content portlet in Liferay Portal Community Edition (CE) 5.x and 6.x before 6.0.6 GA, when Apache Tomcat is used, allows remote attackers to execute arbitrary commands via unknown vectors.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.liferay.portal:portal-service | ≥ 5.0.0&&< 6.0.6-ga | 6.0.6-gacom.liferay.portal:portal-service:6.0.6-ga |
Affected Products
liferay portalliferayResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Liferay XSL - Command Execution (Metasploit)
by Spencer McIntyre · Apr 8, 2012
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.liferay.portal:portal-service, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.liferay.portal:portal-service to 6.0.6-ga or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2011-1571 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is CVE-2011-1571 in your dependencies?
Find it across Maven, including transitive dependencies.