Bug 1081875 (CVE-2014-0153)

Summary: CVE-2014-0153 ovirt-engine-api: session ID stored in HTML5 local storage
Product: [Other] Security Response Reporter: David Jorm <djorm>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acathrow, adahms, bazulay, cpelland, dougsland, extras-orphan, gklein, idith, iheim, jrusnack, juan.hernandez, mjc, oramraz, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-10 01:26:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1081924, 1081925, 1081926    
Bug Blocks: 1081913    

Description David Jorm 2014-03-28 06:36:54 UTC
It was found that the oVirt web admin interface stored session IDs in HTML5 local storage. A remote attacker could provide a specially crafted web page that, when visited by a user with a valid REST API session, would allow the attacker to read the session ID from local storage. This is possible because HTML5 local storage is not protected by the same-origin policy (SOP).

Comment 1 David Jorm 2014-03-28 07:31:48 UTC
Upstream bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1077448

Upstream patch commit:

http://gerrit.ovirt.org/#/c/25987/

Comment 3 David Jorm 2014-03-28 08:18:35 UTC
Created ovirt-engine tracking bugs for this issue:

Affects: fedora-all [bug 1081926]

Comment 4 Juan Hernández 2014-03-28 11:27:15 UTC
Note that the RESTAPI doesn't store the session IDs anywhere, it is the client that does so, in this case the UI. I have changed the component in the tracking bugs accordingly.

Comment 5 errata-xmlrpc 2014-06-09 15:05:43 UTC
This issue has been addressed in following products:

  RHEV Manager version 3.4

Via RHSA-2014:0506 https://rhn.redhat.com/errata/RHSA-2014-0506.html