Community Security Team

The Liferay Community Security Team is an all-volunteer group of community members who manage security issues related to Liferay Portal.

Known Vulnerabilities

The following vulnerabilities are known to exist in Liferay Portal CE.  Users of older releases are strongly encouraged to upgrade to the latest Liferay Portal CE release.  Patches are only produced for the latest Liferay Portal CE release.  Source code modifications may be possible on older releases, but care must be taken to backport fixes that may not apply to older releases.

To obtain source or binary patches for each of the vulnerabilities, click on the name of the vulnerability, and look for links for source and binary patches.  To obtain a single cumulative source or binary patch for all known vulnerabilities, visit the Patch Details section of the CST Process page.  Note that the availability of the single cumulative binary patch may lag a day or two behind availability of the associated source patches.  

Quick Links

CST-SA: LPS-31750 Non-secure cookie LFR_SESSION_STATE_XXXXXX is created when connected over HTTPS

Date

Tue, 02 Apr 2013 19:08:46 +0000

Title

CST-SA: LPS-31750 Non-secure cookie LFR_SESSION_STATE_XXXXXX is created when connected over HTTPS

Description

The cookie that keeps track of the user session timestamp - LFR_SESSION_STATE_XXXXXX is created twice. The first time the secure flag is not set. The second time the secure flag is set (and the path points to /).

Steps to reproduce:

  1. Open a browser and clear all the cookies (at least the ones that look like LFR_SESSION_STATE_XXXXX, where XXXXXX is a number representing the user ID).
  2. Log in to Liferay over HTTPS connection.
  3. Check the cookies that are created for the user - there are 2 of them - one with the secure flag set and one without the secure flag.

Note that the secure flag is not set if the connection goes over HTTP (non-secure connection).

Severity

Severity 3

Workaround

None

Issue Links

Note that some or all of these may not yet be accessible. The CST remains committed to full disclosure of all security issues once fully resolved.

Patching Instructions

See the Community Security Team Process page for details on working with source and binary patches.

Binary Patch Links

Note: The below links point to a download page which contains multiple binary patches with the following naming scheme: <Liferay-Version>-security-<patch-version>.zip. Be sure to use the latest patch for your Liferay release!

Note: Binary patches only apply to the release with which this issue is associated. Applying a binary patch to any other release will probably result in a broken install!

Source Patch Links

Note that source patches only apply to the release with which this issue is associated. Applying a source patch to any other release will probably result in a broken install! For Github URLs suffixed with .patch, removing this suffix will yield a graphical view of the patch

Credit

This issue was discovered and reported by Vilmos Papp