SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#541574

freeRADIUS Server vulnerable to a denial-of-service attack

Overview

Multiple vulnerabilities in freeRADIUS Server may allow attackers to cause a denial-of-service condition.

I. Description

The Remote Authentication Dial In User Service (RADIUS) protocol is used for remote user authentication and accounting. freeRADIUS Server is an popular open-source RADIUS server.

According to freeRADIUS, three independent bugs in freeRADIUS Server versions 0.8.0 to 1.0.0 inclusive, may cause a denial-of-service condition.

According to Alan T. DeKok from the freeRADIUS project these vulnerabilities are the result of:

  • The function which decodes RADIUS attributes into data structures did not properly check for malformed USR vendor-specific attributes. As a result, when the server received any packet containing a malformed USR VSA, it could be convinced to call "memcpy" with a length value of "-1", which memcpy would interpret as 0xffffffff. The resulting infinite copy would cause the server to core dump.
  • The function which decodes RADIUS attributes into data structures did not properly check for certain pre-conditions before decoding Ascend-Send-Secret and Ascend-Recv-Secret attributes. As result, when the server received an Access-Request or Accounting-Request packet containing an Ascend-Send-Secret or Ascend-Recv-Secret attribute, it could be convinced to call a function to decode the contents of the attribute, with a NULL pointer, where that function expected a pointer to a valid data structure. That function would de-reference the NULL pointer, and cause the server to core dump.
  • The function which decodes RADIUS attributes into data structures did not properly clean up after itself if the Ascend-Send-Secret, Ascend-Recv-Secret, or Tunnel-Password attributes were received in an Access-Request packet. As a result, a previously allocated data structure was not freed, and the server would leak a data structure of approximately 300 bytes for every Access-Request packet it received which contained those RADIUS attributes. If sufficient packets matching that criteria were received, the server process would run out of memory, and would be killed by the OS.

II. Impact

A remote attacker may be able to crash the freeRADIUS Server causing a denial-of-service condition.

III. Solution

Upgrade freeRADIUS


These vulnerabilities were corrected in freeRADIUS Server version 1.0.1.

Limit Access to freeRADIUS

To reduce the impact of exploitation, access to freeRADIUS services should restricted to only trusted hosts on necessary ports (1812 UDP for Authentication and 1813 UDP for Accounting).

Systems Affected

VendorStatusDate NotifiedDate Updated
3ComUnknown5-Oct-2004
AlcatelUnknown5-Oct-2004
Apple Computer Inc.Not Vulnerable1-Feb-2005
AT&TUnknown5-Oct-2004
AvayaUnknown5-Oct-2004
Avici Systems Inc.Unknown5-Oct-2004
BorderwareUnknown5-Oct-2004
BSDIUnknown11-Oct-2004
Check PointUnknown5-Oct-2004
Chiaro NetworksNot Vulnerable7-Oct-2004
Cisco Systems Inc.Unknown5-Oct-2004
ClavisterUnknown7-Oct-2004
Computer AssociatesUnknown5-Oct-2004
ConnectivaUnknown5-Oct-2004
CovErtUnknown5-Oct-2004
Cray Inc.Unknown5-Oct-2004
CwntUnknown5-Oct-2004
D-Link SystemsUnknown5-Oct-2004
Data ConnectionUnknown5-Oct-2004
DebianVulnerable18-Oct-2004
EMC CorporationUnknown5-Oct-2004
EngardeUnknown5-Oct-2004
eSoftUnknown5-Oct-2004
Extreme NetworksUnknown5-Oct-2004
F5 NetworksUnknown5-Oct-2004
FortinetUnknown5-Oct-2004
Foundry Networks Inc.Not Vulnerable6-Oct-2004
FreeBSDUnknown5-Oct-2004
FreeRADIUSVulnerable29-Sep-2004
FujitsuUnknown5-Oct-2004
GTAUnknown5-Oct-2004
Hewlett-Packard CompanyUnknown5-Oct-2004
HitachiNot Vulnerable8-Oct-2004
HyperchipUnknown5-Oct-2004
IBMUnknown5-Oct-2004
IBM-zSeriesUnknown5-Oct-2004
IBM eServerUnknown5-Oct-2004
ImmunixUnknown5-Oct-2004
Ingrian NetworksUnknown5-Oct-2004
IntelUnknown5-Oct-2004
IntotoNot Vulnerable14-Oct-2004
IP FilterUnknown5-Oct-2004
Juniper NetworksUnknown5-Oct-2004
LachmanUnknown5-Oct-2004
LinksysUnknown5-Oct-2004
Lucent TechnologiesUnknown5-Oct-2004
LuminousUnknown5-Oct-2004
MandrakeSoftUnknown5-Oct-2004
Microsoft CorporationUnknown5-Oct-2004
MontaVista SoftwareUnknown5-Oct-2004
Multi-Tech Systems Inc.Unknown5-Oct-2004
MultinetUnknown5-Oct-2004
NEC CorporationUnknown5-Oct-2004
NETBSDUnknown5-Oct-2004
NETfilterUnknown5-Oct-2004
NetScreenUnknown5-Oct-2004
Network ApplianceUnknown5-Oct-2004
NextHopUnknown5-Oct-2004
NokiaUnknown5-Oct-2004
Nortel NetworksUnknown5-Oct-2004
NovellUnknown5-Oct-2004
OpenBSDUnknown5-Oct-2004
Openwall GNU/*/LinuxUnknown5-Oct-2004
Red Hat Inc.Unknown5-Oct-2004
Redback Networks Inc.Unknown5-Oct-2004
Riverstone NetworksUnknown5-Oct-2004
SCOUnknown5-Oct-2004
SCOUnknown5-Oct-2004
Secure Computing CorporationUnknown5-Oct-2004
SecureWorksUnknown5-Oct-2004
SequentUnknown5-Oct-2004
SGIUnknown5-Oct-2004
Sony CorporationUnknown5-Oct-2004
StonesoftNot Vulnerable7-Oct-2004
Sun Microsystems Inc.Unknown5-Oct-2004
SuSE Inc.Unknown5-Oct-2004
Symantec CorporationUnknown5-Oct-2004
TurboLinuxUnknown5-Oct-2004
UnisysUnknown5-Oct-2004
WatchGuardUnknown5-Oct-2004
Wind River Systems Inc.Unknown5-Oct-2004
ZyXELUnknown5-Oct-2004

References


http://secunia.com/advisories/12570/
http://www.securitytracker.com/alerts/2004/Sep/1011364.html
http://www.freeradius.org/security.html

Credit

This vulnerability was publicly repoted by Secunia Security Advisories.


We thank Alan T. DeKok of freeRADIUS for providing information regarding this vulnerability.

This document was written by Jeff Gennari.

Other Information

Date Public:2004-09-20
Date First Published:2004-10-06
Date Last Updated:2005-02-01
CERT Advisory: 
CVE-ID(s):CAN-2004-0938
NVD-ID(s):CAN-2004-0938
US-CERT Technical Alerts: 
Metric:2.83
Document Revision:129

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2004 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader