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#589523

Multiple implementations of the RADIUS protocol contain a digest calculation buffer overflow

Overview

Multiple implementations of the RADIUS protocol contain a buffer overflow in the function that calculates message digests.

I. Description

During the message digest calculation, a string containing the shared secret is concatenated with a packet received without checking the size of the target buffer. This makes it possible to overflow the buffer with shared secret data. This can lead to denial of service against the server. If the shared secret is known by the attacker, then it may be possible to use this information to execute arbitrary code with the privileges of the victim RADIUS server or client, usually root. It should be noted that gaining knowledge of the shared secret is not a trivial task.

Certain implementations of RADIUS vulnerable to VU#589523 may allow the execution of code if multiple packets are processed in the same thread, and the last 1 or 2 bytes of the shared secret is with in a certain range. In this case, specific knowledge of the shared secret is not required.

II. Impact

Without knowledge of the shared secret, an attacker can cause a denial of service against the server, or the client via the server response. With knowledge of the shared secret, an attacker may be able to execute arbitrary code. In certain implementations, specific knowledge of the shared secret is not required to execute arbitrary code if the last 1 or 2 bytes of the shared secret are with in a certain range.

III. Solution

Apply a patch or upgrade to the version specified by your vendor.

Implementing a firewall to filter packets from outside of your network perimeter from being sent to the RADIUS server may help reduce the risk of attack. Note that this is not sufficient to prevent the vulnerability from being exploited by users who are within your network perimeter.

Systems Affected

VendorStatusDate Updated
AlcatelNot Vulnerable2-Apr-2002
AppleNot Vulnerable19-Feb-2002
Athena OnlineNot Vulnerable12-Mar-2002
CiscoNot Vulnerable4-Mar-2002
CistronVulnerable19-Feb-2002
ConectivaVulnerable7-Mar-2002
FreeBSDVulnerable20-Feb-2002
FreeRADIUSVulnerable27-Feb-2002
FujitsuNot Vulnerable20-Feb-2002
Funk SoftwareNot Vulnerable28-Mar-2002
GnuRADIUSVulnerable20-Feb-2002
Hewlett PackardNot Vulnerable20-Feb-2002
IBMNot Vulnerable20-Feb-2002
ICRADIUSVulnerable20-Feb-2002
Interlink NetworksNot Vulnerable18-Mar-2002
Juniper NetworksNot Vulnerable20-Feb-2002
LucentVulnerable5-Mar-2002
MicrosoftNot Vulnerable20-Feb-2002
NETBSDVulnerable20-Feb-2002
NovellVulnerable12-Apr-2002
Open System ConsultantsNot Vulnerable12-Mar-2002
Process SoftwareNot Vulnerable20-Feb-2002
RADIUSVulnerable4-Mar-2002
RADIUSClientVulnerable20-Feb-2002
Red HatVulnerable20-Feb-2002
Riverstone NetworksNot Vulnerable13-Mar-2002
SCONot Vulnerable19-Feb-2002
Secure Computing CorporationVulnerable16-Apr-2002
SGINot Vulnerable20-Feb-2002
VircomVulnerable2-Apr-2002
Wind River SystemsNot Vulnerable4-Mar-2002
XTRADIUSVulnerable20-Feb-2002
YARD RADIUSVulnerable20-Feb-2002

References


http://www.untruth.org/~josh/security/radius
http://www.securityfocus.com/bid/3530

Credit

Our thanks to Joshua Hill <josh-radius@untruth.org> and 3APA3A <3APA3A@SECURITY.NNOV.RU> for their report and analysis of this vulnerability.

This document was written by Jason Rafail and is based on information provided by 3APA3A.

Other Information

Date Public11/12/2001
Date First Published03/04/2002 02:27:56 PM
Date Last Updated04/16/2002
CERT AdvisoryCA-2002-06
CVE Name 
US-CERT Technical Alerts 
Metric5.74
Document Revision21

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

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