Bug 167676 - CVE-2005-4744 Multiple freeradius security issues
CVE-2005-4744 Multiple freeradius security issues
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: freeradius (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Thomas Woerner
: Security
Depends On:
  Show dependency treegraph
Reported: 2005-09-06 17:25 EDT by Josh Bressers
Modified: 2007-11-30 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version: RHSA-2006-0271
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-04-04 04:45:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2006:0271 normal SHIPPED_LIVE Important: freeradius security update 2006-04-04 00:00:00 EDT

  None (edit)
Description Josh Bressers 2005-09-06 17:25:00 EDT
A number of issues have been found in freeradius:

* moderate
Off by one error (\0 being written to end of string, probably not even a crash)

* low
Use per-system max fd to close, rather than hard-coded number

* low
If strftime(3) returns 0, the contents of the string array is undefined,
therefore it should not be copied.  This could lead to the leaking of 40 bytes
off the stack (random unitialized memory).

* moderate/low
Adds boundly length checks, whithout which it could be possible to overflow a
var on the stack.
* As best as I can tell, this is coming from the server, not a malicious source.

* moderate
Adds a boundry length check.  Possible stack buffer overflow. This sould be a
crash only.

* moderate
Properly escape ldap data.  This could possible leak ldap data via a malformed
query, without proper acls.

* low/bug
Make things a bit more thread safe by introducing a horrible horrible hack.
Comment 1 Josh Bressers 2005-09-06 17:29:55 EDT
These issues may also affect RHEL3.
Comment 3 Josh Bressers 2005-09-07 08:53:30 EDT
These issues should be considered public
Comment 4 Josh Bressers 2005-09-12 08:19:10 EDT
After reading upstream's response to these issues, I'm marking the severity as
low.  Given I'm not an expert with the FreeRADIUS source, I purposely marked
some of these issues as "moderate" severity to prevent us from not giving enough
attention to something that may have needed it.

Comment 6 Josh Bressers 2006-03-28 09:58:36 EST
After a short discussion with MITRE and some analysis, only the off my one error
in sql_unixodbc.c is being considered a security issue.
Comment 9 Red Hat Bugzilla 2006-04-04 04:45:46 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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