Bug 1299615 (CVE-2016-0721)

Summary: CVE-2016-0721 pcs: cookies are not invalidated upon logout
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: cfeist, jrusnack, omular, security-response-team, tojeline
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
It was found that pcsd did not invalidate cookies on the server side when a user logged out. This could potentially allow an attacker to perform session fixation attacks on pcsd.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-06 04:27:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1308827, 1330884    
Bug Blocks: 1299618, 1323912    

Description Martin Prpič 2016-01-18 18:48:38 UTC
The session cookie is not invalidated on the server side when logging out of the web UI. It is invalidated in the browser's cookie cache but it still works on requests sent by hand.

The cookie is also not invalidated when that same user log in again, meaning all cookies are stored in a pool of valid sessions that are only invalidated when the cookies expires (1 day).

This can allow attackers to perform session fixation attacks.

Comment 1 Ján Rusnačko 2016-01-19 07:24:09 UTC
Acknowledgements:

Name: Martin Prpic (Red Hat Product Security)

Comment 2 Martin Prpič 2016-01-19 09:35:49 UTC
Statement:

This issue is not currently planned to be addressed in future updates of Red Hat Enterprise Linux 6, as the web UI functionality is disabled by default in pcsd.

Comment 4 Martin Prpič 2016-02-16 08:54:00 UTC
Created pcs tracking bugs for this issue:

Affects: fedora-all [bug 1308827]

Comment 5 Fedora Update System 2016-03-02 21:50:23 UTC
pcs-0.9.149-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2016-03-03 20:25:45 UTC
pcs-0.9.149-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 errata-xmlrpc 2016-11-03 20:56:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2596 https://rhn.redhat.com/errata/RHSA-2016-2596.html