Bug 1456697 (CVE-2017-9148)

Summary: CVE-2017-9148 freeradius: TLS resumption authentication bypass
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anemec, dkholia, dpal, jdennis, kare.hviid, lemenkov, nikolai.kondrashov, pkis
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freeradius 3.0.14 Doc Type: If docs needed, set a value
Doc Text:
An authentication bypass flaw was found in the way the EAP module in FreeRADIUS handled TLS session resumption. A remote unauthenticated attacker could potentially use this flaw to bypass the inner authentication check in FreeRADIUS by resuming an older unauthenticated TLS session.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-25 21:11:01 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: 1456698, 1458746, 1459131    
Bug Blocks: 1456700    
Attachments:
Description Flags
Backported fix for FreeRADIUS 3.0.4 none

Description Andrej Nemec 2017-05-30 07:48:49 UTC
The TLS session cache in FreeRADIUS fails to reliably prevent resumption of an unauthenticated session, which allows remote attackers (such as malicious 802.1X supplicants) to bypass authentication via PEAP or TTLS.

References:

http://seclists.org/oss-sec/2017/q2/342
http://seclists.org/oss-sec/2017/q2/422
http://freeradius.org/security.html

Upstream patches:

https://github.com/FreeRADIUS/freeradius-server/commit/af030bd4
https://github.com/FreeRADIUS/freeradius-server/commit/8f53382c

Comment 1 Andrej Nemec 2017-05-30 07:49:23 UTC
Created freeradius tracking bugs for this issue:

Affects: fedora-all [bug 1456698]

Comment 3 Dhiru Kholia 2017-06-06 06:58:58 UTC
Mitigation:

Disable TLS session caching in FreeRADIUS by setting "enable = no" in the cache subsection of EAP module settings, which are in /etc/raddb/mods-available/eap file.

Comment 15 Dhiru Kholia 2017-06-15 10:00:37 UTC
Created attachment 1287974 [details]
Backported fix for FreeRADIUS 3.0.4

Comment 16 errata-xmlrpc 2017-06-28 05:08:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:1581 https://access.redhat.com/errata/RHSA-2017:1581