A stack-based buffer overflow flaw was found in the way FreeRADIUS, a high-performance and highly configurable free RADIUS server, performed x509 certificates validation when freeradius was configured to use some of TLS-based Extensible Authentication Protocols, EAP (EAP-TLS, EAP-TTLS, or PEAP). A remote RADIUS client could present a specially-crafted X509_v3 certificate that, when processed by RADIUS server in order to establish TLS session, would lead to radiusd daemon crash or, potentially, arbitrary code execution with the privileges of the user running the radiusd service. Upstream patch that introduced this issue: [1] https://github.com/alandekok/freeradius-server/commit/a368a6f4f4aaf Acknowledgements: Red Hat would like to thank Timo Warns of PRESENSE Technologies GmbH for reporting this issue.
Preliminary embargo date for this issue has been set up to Monday, 10-th of September, 2012.
This issue did NOT affect the version of the freeradius package, as shipped with Red Hat Enterprise Linux 5 as it did not include the upstream a368a6f4f4aaf commit, which introduced the issue, yet. -- This issue affects the version of the freeradius2 package, as shipped with Red Hat Enterprise Linux 5. -- This issue affects the version of the freeradius package, as shipped with Red Hat Enterprise Linux 6.
Created attachment 607916 [details] Proposed patch to correct this from Alan DeKok from FreeRADIUS upstream
This is now public: http://www.pre-cert.de/advisories/PRE-SA-2012-06.txt http://seclists.org/fulldisclosure/2012/Sep/83
Created freeradius tracking bugs for this issue Affects: fedora-all [bug 855909]
(In reply to comment #5) > Created attachment 607916 [details] > Proposed patch to correct this from Alan DeKok from FreeRADIUS upstream Committed upstream in: https://github.com/alandekok/freeradius-server/commit/78e5aed56c36a9231bc91ea5f55b3edf88a9d2a4
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2012:1327 https://rhn.redhat.com/errata/RHSA-2012-1327.html
This issue has been addressed in following products: Red Hat Enterprise Linux 6 Via RHSA-2012:1326 https://rhn.redhat.com/errata/RHSA-2012-1326.html