Bug 1360757 (CVE-2016-5414)

Summary: CVE-2016-5414 freeipa: incorrect check for SubjectAltNames during CA ACL check
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 12:15:07 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: 1372597    
Bug Blocks:    
Attachments:
Description Flags
0001-Fix-CA-ACL-Check-on-SubjectAltNames.patch none

Description Martin Prpič 2016-07-27 12:14:15 UTC
It was found that FreeIPA fails to check the CA ACLs properly, moreover the SAN name is incorrectly checked for service principals which means someone can request an arbitrary SAN name for services.

The vulnerable code was added in the 4.4.0 release, which is not yet available in Fedora or RHEL.

Comment 1 Martin Prpič 2016-07-27 12:14:20 UTC
Acknowledgments:

Name: Simo Sorce (Red Hat)

Comment 2 Martin Prpič 2016-07-27 12:14:54 UTC
Created attachment 1184610 [details]
0001-Fix-CA-ACL-Check-on-SubjectAltNames.patch