Shell command injection in Liferay Portal
Liferay Portal through 6.2.10 allows remote authenticated users to execute arbitrary shell commands via a crafted Velocity template.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.liferay.portal:portal-impl | < 6.2.11 | 6.2.11 |
| Java / Kotlin (Maven) | com.liferay.portal:portal-service | < 6.2.11 | 6.2.11 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2010-5327
- https://github.com/liferay/liferay-portal/commit/90c4e85a8f8135f069f3f05e4d54a77704769f91
- https://dev.liferay.com/web/community-security-team/known-vulnerabilities
- https://dev.liferay.com/web/community-security-team/known-vulnerabilities/-/asset_publisher/4AHAYapUm8Xc/content/lps-64547-remote-code-execution-and-privilege-escalation-in-templates
- https://issues.liferay.com/browse/LPE-14964
- https://issues.liferay.com/browse/LPS-64547
- https://issues.liferay.com/browse/LPS-7087
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
-- Platform
- Java / Kotlin (Maven)
- Package
com.liferay.portal:portal-impl, com.liferay.portal:portal-service- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-97gm-mcv6-cphm - CC BY 4.0
Vulnerability history: com.liferay.portal:portal-impl
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 05.2022 02.2024
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2022: 1
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Shell command injection in Liferay Portal this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.