oCERT-2015-008 FreeRADIUS insufficent CRL application
Description:
The FreeRADIUS server is an open source project that provides a RADIUS implementation.
The FreeRADIUS server relies on OpenSSL to perform certificate validation, including Certificate Revocation List (CRL) checks. The FreeRADIUS usage of OpenSSL, in CRL application, limits the checks to leaf certificates, therefore not detecting revocation of intermediate CA certificates.
An unexpired client certificate, issued by an intermediate CA with a revoked certificate, is therefore accepted by FreeRADIUS.
Specifically sets the X509_V_FLAG_CRL_CHECK flag for leaf certificate CRL checks, but does not use X509_V_FLAG_CRL_CHECK_ALL for CRL checks on the complete trust chain.
The FreeRADIUS project advises that the recommended configuration is to use self-signed CAs for all EAP-TLS methods.
Affected version:
FreeRADIUS <= 2.2.7, <= 3.0.8
Fixed version:
FreeRADIUS >= 2.2.8, >= 3.0.9
Credit: vulnerability anonymously reported.
CVE: CVE-2015-4680
Timeline:
2015-06-17: vulnerability report received
2015-06-18: contacted FreeRADIUS security maintainer
2015-06-18: patch provided by maintainer
2015-06-19: assigned CVE
2015-06-22: advisory release
References:
https://github.com/FreeRADIUS/freeradius-server/blob/b28326004379260ca2fe7b8884f813d90a741197/src/main/tls.c#L2111
https://github.com/FreeRADIUS/freeradius-server/blob/b28326004379260ca2fe7b8884f813d90a741197/src/main/tls.c#L2595
http://freeradius.org/security.html