mailing list archives
DoS Attack against many RADIUS servers
From: "Alan DeKok" <aland () freeradius org>
Date: Thu, 21 Feb 2002 16:56:23 -0500
There was a report recently to the maintainers of FreeRADIUS of a
DoS attack against it. For background, FreeRADIUS is a free software
RADIUS authentication, authorization, and accounting server. 
The attack was launched from a Nortel Shasta BSN 5000, by a user who
flooded the NAS with PPP requests containing an invalid password, over
a DSL link. All of the PPP requests failed, as when the NAS sent an
Access-Request to the RADIUS server, it responded with an
Access-Reject response, due to the invalid password.
However, the flood of Access-Request packets caused the server to
effectively lock up while the attack was in progress. The system load
during the attack was 60. When the attack stopped, the server
resumed its normal operation.
During the attack, few other users were able to authenticate, as the
server was busy processing the flood of requests from the attack.
The code was subsequently patched so that it would wait for a
configurable time before sending an Access-Reject to the NAS. This
change caused the NAS to ignore any new PPP requests from the problem
user, until it received a response from the RADIUS server. These
changes are available in the current CVS snapshot FreeRADIUS , and will
be included in any subsequent release.
Nortel was contacted by the administrator of the NAS under attack,
and their apparent response was that it wasn't their job to limit
RADIUS traffic. While I can understand that approach, I would have
preferred that the NAS was part of the solution to network problems.
My examination of other freely available RADIUS implementations
indicates that most, if not all, of them would be vulnerable to the
same attack. I believe that many commercial RADIUS servers are also
vulnerable. Other NAS boxes may also contribute to the problem, by
originating non-rate-limited RADIUS packets.
Coupled with the previous message to BugTraq from
3apa3a () security nnov ru , these problems indicate a severe
vulnerability in most RADIUS implementations.
A decent method of avoiding these problems is to place the RADIUS
server on a protected network, where the traffic to it may be
controlled. Dial-up users should not be able to route packets to the
server, and packets from the Internet should not be routable to the
server. If proxying to another site across the internet is required,
then a secure transport protocol like IPSec should be used.
In such a configuration, the server will be exposed to a minimum of
 FreeRADIUS: http://www.freeradius.org
- DoS Attack against many RADIUS servers Alan DeKok (Feb 22)