search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Multiple vendors' RADIUS implementations do not adequately validate user input thereby permitting DoS and arbitrary command execution via 'radiusd' daemon

Vulnerability Note VU#898931

Original Release Date: 2001-07-27 | Last Revised: 2001-08-07

Overview

Vulnerabilities in various implementations of the Remote Authentication Dial-In User Server (RADIUS) 'radiusd' daemon can allow an attacker to disrupt services or obtain unauthorized access.

Description

Various implementations of the Remote Authentication Dial-In User Server (RADIUS) 'radiusd' daemon may contain buffer-overflow, format-string, and other vulnerabilities.

CERT/CC has identified three potential buffer-overflow vulnerabilities in Merit 3.6b RADIUS. These vulnerabilities stem from calls to strcpy() without enforcing buffer size limits when managing the user_realm, id, and name input variables. Version 3.6b1 corrects these vulnerabilities and improves bounds checking in the packet_log function to prevent more buffer overflows. Interlink Networks found additional vulnerabilities that were not resolved in 3.6b1, and they have corrected these in version 3.6b2.

Lucent 2.1-2 RADIUS was patched by Simon Horms to replace dozens of calls to strcpy(), sprintf(), and other functions that are often linked to buffer-overflow, format-string, and other vulnerabilities.

The Lucent and Merit RADIUS implementations are both derived from work at Livingston Enterprises. They have evolved independently into significantly different codebases, so vulnerabilities fixed in either implementation may not have been present in the other. Nevertheless, given the shared roots of the two products, any vulnerability found in one may be present in the other or in other derivative RADIUS products. We are working with other vendors to learn whether their RADIUS products have similar vulnerabilities that have not yet been announced.

Impact

Attackers who exploit these vulnerabilities may be able to interrupt RADIUS services or execute commands as the RADIUS user, which typically has administrator privileges. Loss or tampering of RADIUS services may prevent all access or allow unauthorized access to computer networks.

Solution

Apply patches available from your vendor.

Patches for the Lucent implementation are available at:

ftp://ftp.vergenet.net/pub/lucent_radius/

Merit offers patches to Merit RADIUS Server 3.6b1 at:

ftp://ftp.merit.edu/radius/releases/

Interlink Networks offers its newer Merit RADIUS Server 3.6b2 at:

http://www.interlinknetworks.com/downloads/freeware_download_license.html

Vendor Information

898931
 

CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Thanks to Internet Security Systems X-Force for publishing an advisory on these vulnerabilities.

This document was written by Shawn Van Ittersum.

Other Information

CVE IDs: CVE-2001-0534
Severity Metric: 20.11
Date Public: 2001-07-05
Date First Published: 2001-07-27
Date Last Updated: 2001-08-07 15:01 UTC
Document Revision: 15

Sponsored by CISA.