Bug 874110 (CVE-2012-5507)

Summary: CVE-2012-5507 conga (Plone): Timing attack in password validation
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: cluster-maint, jonathansteffan, jpokorny, rmccabe, rsteiger
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-26 21:14:06 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: 956861    
Bug Blocks: 874222    

Description Jan Lieskovsky 2012-11-07 14:30:13 UTC
It was reported that the authentication system of Plone, a user friendly and powerful content management system based on Zope, was absenting a equality test, that would run in constant time complexity, when validating tickets and verifying identifiers for their equality. A remote attacker with fast network connection to the server could use this flaw to check hash prefixes.

References:
[1] http://plone.org/products/plone/security/advisories/20121106/23
[2] http://plone.org/products/plone/security/advisories/20121106/

Relevant upstream HotFixes:
[3] http://plone.org/products/plone-hotfix/releases/20121106
    (utils.py, crypto_oracle.py, and crypto_oracle_p3.py changes
     seem to be relevant for this issue)

Comment 2 Jan Lieskovsky 2012-11-07 16:56:46 UTC
From OSS post:
[4] http://www.openwall.com/lists/oss-security/2012/11/07/4

relevant upstream HotFix change related to this issue is django_crypto.py.

Comment 5 Jan Lieskovsky 2012-11-13 15:35:19 UTC
The CVE identifier of CVE-2012-5507 has been assigned to this issue:
http://www.openwall.com/lists/oss-security/2012/11/10/1

Comment 6 Jan Pokorný [poki] 2013-06-13 17:23:51 UTC
Reference: https://bugs.launchpad.net/zope2/+bug/1071067

Comment 7 Vincent Danen 2014-06-26 21:14:06 UTC
This issue may affect the version of plone as shipped with EPEL5, however the latest version there is 3.1.6 (and the latest 3.x release is 3.3.5, which was released a year prior to this flaw being discovered).  Given the age of the EPEL5 package and its lack of support, we do not recommend anyone use it.

This issue does not affect plone as provided with the conga package on Red Hat Enterprise Linux 5.

Statement:

Not vulnerable. This issue did not affect the versions of luci (as provided by conga) as shipped with Red Hat Enterprise Linux 5.