Bug 852752 (CVE-2012-3547) - CVE-2012-3547 freeradius: stack-based buffer overflow via long expiration date fields in client X509 certificates
Summary: CVE-2012-3547 freeradius: stack-based buffer overflow via long expiration dat...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-3547
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 855308 855315 855316 855317 855909
Blocks: 852759
TreeView+ depends on / blocked
 
Reported: 2012-08-29 13:43 UTC by Jan Lieskovsky
Modified: 2023-05-11 20:36 UTC (History)
7 users (show)

Fixed In Version: freeradius 2.2.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-02 18:07:05 UTC
Embargoed:


Attachments (Terms of Use)
Proposed patch to correct this from Alan DeKok from FreeRADIUS upstream (673 bytes, patch)
2012-08-29 14:07 UTC, Jan Lieskovsky
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1326 0 normal SHIPPED_LIVE Moderate: freeradius security update 2012-10-02 21:22:27 UTC
Red Hat Product Errata RHSA-2012:1327 0 normal SHIPPED_LIVE Moderate: freeradius2 security update 2012-10-02 21:20:36 UTC

Description Jan Lieskovsky 2012-08-29 13:43:56 UTC
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.

Comment 2 Jan Lieskovsky 2012-08-29 13:48:18 UTC
Preliminary embargo date for this issue has been set up to Monday, 10-th of September, 2012.

Comment 4 Jan Lieskovsky 2012-08-29 13:51:34 UTC
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.

Comment 5 Jan Lieskovsky 2012-08-29 14:07:29 UTC
Created attachment 607916 [details]
Proposed patch to correct this from Alan DeKok from FreeRADIUS upstream

Comment 17 Jan Lieskovsky 2012-09-10 15:12:47 UTC
Created freeradius tracking bugs for this issue

Affects: fedora-all [bug 855909]

Comment 23 Tomas Hoger 2012-09-24 18:52:29 UTC
(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

Comment 25 errata-xmlrpc 2012-10-02 17:24:38 UTC
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

Comment 26 errata-xmlrpc 2012-10-02 17:24:45 UTC
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


Note You need to log in before you can comment on or make changes to this bug.