Skip to main content

Hardening RADIUS against MD5 collision attacks (BlastRADIUS)

Mitigate CVE-2024-3596 BlastRADIUS attacks. Enforce RADIUS Message-Authenticator, patch FreeRADIUS & Cisco ISE, and migrate to 802.1X EAP-TLS.

By Iain JewittPublished Updated
📖 8 min read1,169 words2 worked examples2 practice questions5 key definitions

Video overview

Listen to this guide

View podcast transcript
Welcome to the Purple Technical Briefing. I'm your host, a Senior Technical Content Strategist at Purple. Today, we're tackling a critical, time-sensitive issue for any organisation running enterprise-grade WiFi: a newly practical vulnerability in a 30-year-old protocol that could allow attackers to walk straight through your digital front door. We're talking about the RADIUS protocol and the MD5 collision attack known as Blast-RADIUS. For our audience of IT managers, network architects, and CTOs in hospitality, retail, and large public venues, this isn't just a theoretical problem. It's a direct threat to your network integrity, data security, and compliance posture. In the next ten minutes, we'll break down what the vulnerability is, how it works, and most importantly, provide a clear, actionable roadmap for mitigation. Whether you're responsible for a 200-room hotel, a national retail chain, or a 60,000-seat stadium, this briefing is directly relevant to decisions you need to make this quarter. Let's start with some context. RADIUS — Remote Authentication Dial-In User Service — was designed in 1991, during the era of dial-up internet. It's a client-server protocol that handles authentication, authorisation, and accounting for network access. When a staff member or device connects to your enterprise WiFi, the access point acts as a RADIUS client and sends an authentication request to a central RADIUS server. The server checks the credentials and responds with either an Access-Accept or an Access-Reject. This exchange has been the backbone of enterprise network security for over three decades. The problem is that RADIUS was designed before modern cryptographic standards existed. The protocol uses the MD5 hashing algorithm to provide a basic integrity check on server responses — a field called the Response Authenticator. MD5 was first shown to be cryptographically broken in 2004. Yet here we are in 2024, and RADIUS is still relying on it. The industry knew MD5 was weak. The protocol simply never got updated. Now let's get into the technical deep-dive. The Blast-RADIUS attack, formally assigned CVE-2024-3596, was disclosed in July 2024 by a team of researchers from Boston University, UC San Diego, CWI Amsterdam, and Microsoft Research. It combines a protocol-level vulnerability with an MD5 chosen-prefix collision attack — and critically, with significant speed improvements that make the attack practical in real time. Here's how it works. A man-in-the-middle attacker positions themselves on the network path between the RADIUS client — your access point — and the RADIUS server. When a user attempts to authenticate, the attacker intercepts the Access-Request packet. They inject a specially crafted malicious attribute into this request. This attribute is designed to cause a mathematical collision: a situation where two different inputs produce the same MD5 hash. The attacker pre-computes this collision so that the MD5 hash of the legitimate Access-Reject response from the server matches the MD5 hash of a forged Access-Accept response that the attacker has constructed. When the server returns its Access-Reject, the attacker substitutes their forged Access-Accept. The RADIUS client checks the Response Authenticator, finds it valid — because the MD5 hashes match — and grants network access. The attacker never needed to know the user's password. They never needed to know the shared secret between the RADIUS client and server. They simply exploited the mathematical weakness in MD5 to make a forged response look legitimate. And with modern hardware, the required MD5 collision can be computed in under five minutes. This is not a theoretical attack. It is operationally viable today. This vulnerability affects all RADIUS deployments using PAP — Password Authentication Protocol — CHAP, and MS-CHAP authentication modes over UDP. These are extremely common in enterprise environments, particularly in legacy deployments. The only authentication modes that are immune are those using EAP — the Extensible Authentication Protocol — because EAP establishes its own cryptographic tunnel that is independent of the MD5 Response Authenticator. Let me put the business risk in concrete terms. Consider a hotel chain. An attacker who gains unauthorised access to the corporate network can move laterally to reach the property management system, access guest records, reach point-of-sale terminals, and potentially exfiltrate payment card data. The average cost of a hospitality sector data breach exceeds three million pounds. Under GDPR, a breach involving guest personal data can trigger fines of up to four percent of global annual turnover. Under PCI DSS, a breach involving cardholder data can result in mandatory forensic investigations, card brand fines, and potential loss of payment processing privileges. The financial and reputational stakes are substantial. Now for implementation recommendations. How do you defend against this? The response has two layers: immediate hardening and long-term modernisation. The immediate action is to apply vendor patches for CVE-2024-3596. Every major RADIUS vendor — Cisco ISE, Microsoft NPS, FreeRADIUS, Juniper, Aruba, Ruckus — has released updates. Alongside patching, the critical configuration change is to enforce the Message-Authenticator attribute on all RADIUS clients and servers. This attribute, defined in RFC 2869, provides an HMAC-based integrity check over the entire RADIUS packet. Unlike the Response Authenticator, the HMAC construction is not vulnerable to the chosen-prefix collision attack. Configuring your infrastructure to require this attribute — and to reject any message that arrives without it — closes the immediate attack vector. For FreeRADIUS, this means setting require_message_authenticator equals yes in your clients configuration file. For Microsoft NPS, it's a policy setting in your Network Policy configuration. This is a low-disruption change that can typically be deployed within a maintenance window. However, the Message-Authenticator enforcement is a stop-gap, not a solution. The long-term strategic response is to migrate to EAP-based authentication. The gold standard is WPA3-Enterprise with EAP-TLS. EAP-TLS uses certificate-based mutual authentication — both the client device and the RADIUS server must present valid digital certificates from a trusted Certificate Authority. This eliminates the shared secret entirely, removes the dependency on MD5, and provides a level of security that is immune to the entire class of attacks that Blast-RADIUS represents. For environments where deploying a full PKI infrastructure is complex — particularly venues with high device turnover or bring-your-own-device policies — PEAP with MSCHAPv2 is an acceptable interim step, provided that clients are configured to validate the RADIUS server certificate. Without server certificate validation, PEAP is vulnerable to rogue access point attacks, which is a separate but equally serious risk. The final phase of the modernisation roadmap is to deploy RADIUS over TLS, known as RADSEC. RADSEC encapsulates all RADIUS traffic within a mutually authenticated TLS session, providing full confidentiality and integrity for the entire authentication exchange. This makes transport-layer attacks like Blast-RADIUS impossible, because there is no unencrypted RADIUS traffic to intercept. RADSEC is particularly valuable in distributed environments — hotel chains, retail networks, stadium complexes — where RADIUS traffic may traverse multiple network segments between the access point and the central authentication server. Let's move to a rapid-fire Q&A. Question one: We use EAP. Are we safe? If you are using EAP-TLS, PEAP, or EAP-TTLS, you are not vulnerable to the specific Blast-RADIUS MD5 collision attack. However, you should still apply vendor patches as a defence-in-depth measure, and you should audit your configuration to ensure server certificate validation is enforced on all clients. Question two: Our RADIUS traffic is in a dedicated management VLAN. Does that protect us? It reduces the attack surface, but it does not eliminate the vulnerability. An attacker who has already compromised any device on the management network can still execute a man-in-the-middle attack. Segmentation is a valuable layer of defence, but it must be combined with Message-Authenticator enforcement and EAP migration. Question three: How difficult is the immediate mitigation? For most environments, enforcing the Message-Authenticator is a straightforward configuration change. The primary challenge is ensuring that all network devices — access points, switches, controllers — support the attribute and have it enabled. A device audit before enforcing the requirement server-side is essential to avoid authentication failures on legacy hardware. Question four: Can I detect whether I've been attacked? This is very difficult. The forged Access-Accept packet appears valid to the RADIUS client because the MD5 hash checks out. Your best detection approach is to monitor RADIUS accounting logs for anomalous successful authentications — unexpected device types, MAC addresses that don't match your inventory, or successful logins at unusual times. Integrate your RADIUS accounting data with your SIEM for automated alerting. To summarise and outline your next steps. The Blast-RADIUS vulnerability is a serious, practically exploitable threat to any organisation running legacy RADIUS authentication over UDP. The attack requires no credential knowledge and can be executed in minutes. Your immediate priority is to audit your infrastructure, apply vendor patches, and enforce the Message-Authenticator attribute on all RADIUS clients and servers. Your medium-term goal is to migrate to EAP-TLS and WPA3-Enterprise. Your long-term architectural target is RADSEC. At Purple, we provide the intelligence layer that helps you understand and secure your venue's WiFi network. Our platform gives you the visibility to identify device types, monitor authentication patterns, and ensure your security policies are being effectively enforced across every access point in your estate. Your action plan is three words: Audit, Patch, and Modernise. Don't let a 30-year-old protocol be the weak link in your security posture. Thank you for joining this Purple Technical Briefing. Stay secure.

Part of our core series: Enterprise WiFi Security Guide

Interactive IT Advisor

Cloud RADIUS vs On-Premise TCO & Architecture Calculator

Select your network profile below to evaluate TCO, maintenance overhead, and optimal RADIUS deployment architecture for enterprise 802.1X security.

Architecture Recommendation

Cloud RADIUS (Zero On-Prem Footprint)

Est. Annual Admin Savings£78,580
Maintenance Reduction65%
Profile: Optimal TCO & Low Maintenance
Setup Complexity: Low (No server maintenance)

Key Architectural Takeaway: Managing individual RADIUS servers per branch causes massive maintenance overhead and certificate sync drift. Cloud RADIUS provides centralized 802.1X policy across all locations.

Hardening RADIUS against MD5 collision attacks

Executive summary

The Remote Authentication Dial-In User Service (RADIUS) protocol, defined in IETF RFC 2865, has served as the central authentication framework for enterprise networks for over three decades. However, the disclosure of CVE-2024-3596 (known as BlastRADIUS) exposed a critical protocol flaw in how RADIUS processes MD5-based Response Authenticator fields.

By exploiting MD5 chosen-prefix collision techniques, a man-in-the-middle (MitM) attacker positioned on the network path between a RADIUS client (such as a wireless access point or switch) and a RADIUS server can forge authentication approvals. An attacker can convert a legitimate Access-Reject packet into an Access-Accept packet in real time without possessing user credentials or knowing the shared RADIUS secret.

This technical guide outlines the cryptographic mechanics of the BlastRADIUS attack, details immediate vendor mitigation strategies through Message-Authenticator enforcement, and provides an enterprise roadmap for migrating WiFi infrastructure to zero-trust EAP-TLS and Purple Cloud RADIUS.


Technical mechanics of MD5 collision attacks (CVE-2024-3596)

Understanding BlastRADIUS requires examining the RADIUS packet header structure established under RFC 2865:

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     Code      |  Identifier   |            Length             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
|                     Request Authenticator                     |
|                                                               |
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  Attributes...
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

The cryptographic flaw in RFC 2865

When a RADIUS server responds to an Access-Request, it calculates an MD5 hash over the response code, identifier, length, request authenticator, attributes, and shared secret:

Response Authenticator = MD5(Code + ID + Length + Request Authenticator + Attributes + Shared Secret)

Because MD5 is susceptible to chosen-prefix collisions, an attacker executes the following sequence:

  1. Intercept Access-Request: Intercept a legitimate Access-Request sent by an access point.
  2. Inject collision prefixes: Insert crafted Proxy-State attributes into the request packet before forwarding it to the RADIUS server.
  3. Intercept Access-Reject: When the RADIUS server rejects the authentication attempt and returns an Access-Reject, the attacker intercepts the packet.
  4. Forge Access-Accept: The attacker modifies the response code to Access-Accept and alters attribute payloads. Because the pre-computed collision prefix produces an identical MD5 output digest, the access point validates the forged Access-Accept as authentic.

Step-by-step mitigation roadmap

Step 1: Enforce Message-Authenticator (RFC 2869)

The Message-Authenticator attribute (Attribute 80) uses HMAC-MD5 to calculate a digital signature over the entire RADIUS packet, including header fields and payload attributes:

Message-Authenticator = HMAC-MD5(RADIUS Packet, Shared Secret)

Because HMAC-MD5 is resistant to chosen-prefix collision attacks, enforcing Attribute 80 on all client requests and server responses renders BlastRADIUS exploitation impossible.

Vendor implementation commands

RADIUS Vendor Configuration Command / Action Minimum Supported Version
FreeRADIUS Set require_message_authenticator to yes in clients.conf v3.0.27 / v3.2.5
Cisco ISE Enable Require Message-Authenticator for all RADIUS Requests v3.1 Patch 8 / v3.2 Patch 4
Aruba ClearPass Toggle Enforce Message-Authenticator in RADIUS Service v6.11.7 / v6.12.2
Microsoft NPS Apply Registry DWORD RequireMessageAuthenticator value 1 Windows Server 2019/2022 KB5040442
Ruckus SmartZone Enable Message-Authenticator Enforcement under AAA Server v6.1.2 Patch 1
# FreeRADIUS clients.conf hardening snippet
# Ensure require_message_authenticator is set to yes for client blocks
client branch_ap_cluster {
    ipaddr_range: 192.168.10.0/24
    secret_key: EnterpriseSecret2026!
    require_message_authenticator_option: yes
    limit_connections: 16
    idle_timeout_sec: 30
}
# Microsoft NPS Registry Hardening via PowerShell
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\RemoteAccess\Policy" `
    -Name "RequireMessageAuthenticator" -Value 1 -PropertyType DWORD -Force
Restart-Service IAS

Got questions about your specific setup?

Our team works with venue operators, IT managers, and network engineers across 80,000 venues. Book a 20-minute call and we will show you how others like you solved it.

Comparative security matrix: RADIUS hardening options

Hardening Measure Vulnerability Protection Implementation Effort Client Compatibility Operational Impact
Message-Authenticator (RFC 2869) Blocks CVE-2024-3596 Low (Configuration change) Compatible with modern APs Minimal downtime
RADSEC (RFC 6614) Full WAN TLS 1.3 encryption Medium (Proxy deployment) Requires TCP 2083 support Eliminates MitM risks
802.1X EAP-TLS Migration Zero-trust mutual cert auth Medium to High (PKI / SCEP) All corporate OS supported Eliminates passwords
Purple Cloud RADIUS End-to-end cloud RADIUS + RADSEC Low (Turnkey Cloud Integration) Universal 802.1X support Automated cert lifecycle

Transitioning to RADSEC (RFC 6614) & EAP-TLS

Traditional RADIUS operates over unencrypted UDP ports 1812 and 1813. Transporting authentication traffic over untrusted WAN links exposes packet headers to active interception.

Deploying RADSEC (RADIUS over TLS) wraps RADIUS packets inside an encrypted TCP TLS 1.3 tunnel:

  • Port: TCP 2083
  • Encryption: TLS 1.3 with AES-256-GCM cipher suites
  • Authentication: Mutual X.509 certificate verification between client proxies and server endpoints
flowchart LR
    A["Wireless Endpoints (Laptops/IoT)"] -->|WPA3-Enterprise 802.1X| B["Access Points / Switches"]
    B -->|RADSEC TLS 1.3 Port 2083| C["Purple Cloud RADIUS"]
    C -->|REST / SCIM API| D["Cloud IdP (Entra ID / Okta / Google)"]

Key architectural benefits of Purple Cloud RADIUS

  1. Zero-touch 802.1X certificate onboarding: Automates SCEP and EST certificate issuance for managed devices, eliminating manual password configuration.
  2. Built-in RADSEC proxy architecture: Secures remote branch traffic over encrypted TCP connections without requiring complex site-to-site IPsec tunnels.
  3. Comprehensive guest and corporate security: Combines enterprise 802.1X authentication with GDPR-compliant captive portal guest onboarding.

Enterprise compliance & audit impact

PCI DSS v4.0 requirements

Under PCI DSS v4.0, non-remediated RADIUS infrastructure exposes payment card environments to severe audit non-compliance:

  • Requirement 8.3: Mandates multi-factor authentication and strong credential management for all administrative access.
  • Requirement 8.6: Prohibits reliance on weak cryptographic algorithms (such as unkeyed MD5 digests).
  • Requirement 1.3: Requires strict network segmentation between guest, IoT, and Cardholder Data Environments (CDE).

ISO 27001 & GDPR alignment

Maintaining unencrypted or vulnerable RADIUS authentication violates ISO 27001:2022 Control A.8.20 (Network Security) and GDPR Article 32 (Security of Processing). Upgrading to EAP-TLS and RADSEC establishes documented cryptographic compliance.


Assess your RADIUS security posture with Purple

Is your enterprise WiFi infrastructure vulnerable to BlastRADIUS (CVE-2024-3596)? Purple offers zero-trust cloud RADIUS solutions with built-in RADSEC encryption, automated SCEP certificate provisioning, and seamless identity provider integration.

  • Automated 802.1X EAP-TLS Onboarding: Eliminate legacy passwords across corporate endpoints.
  • Turnkey RADSEC Cloud Proxies: Encrypt branch authentication traffic over TLS 1.3 without VPN overhead.
  • Unified Security & Analytics: Manage corporate 802.1X security alongside GDPR-compliant guest WiFi.

Speak to a RADIUS Security Specialist


Frequently asked questions

Is EAP-TLS vulnerable to BlastRADIUS?

No. EAP-TLS, PEAP, and EAP-TTLS establish an independent TLS tunnel between the client device and the RADIUS server. This cryptographic tunnel operates independently of the legacy RADIUS Response Authenticator MD5 digest, making EAP authentication immune to CVE-2024-3596.

How does Message-Authenticator (RFC 2869) prevent CVE-2024-3596?

Message-Authenticator (Attribute 80) uses HMAC-MD5 to sign the entire RADIUS packet using the shared secret. Unlike standard MD5 Response Authenticators, HMAC-MD5 is cryptographically resistant to chosen-prefix collision attacks, rendering packet forgery impossible.

What is the difference between UDP RADIUS and RADSEC (RFC 6614)?

Standard RADIUS transports authentication packets in plaintext over unencrypted UDP ports 1812 and 1813. RADSEC encapsulates RADIUS packets inside an encrypted TLS 1.3 TCP stream on port 2083, providing mutual X.509 certificate authentication and complete confidentiality over untrusted networks.

How do network teams audit legacy access points for Message-Authenticator support?

Network teams should capture incoming RADIUS traffic using tcpdump -i eth0 -n port 1812 and filter for radius.Message_Authenticator. Confirming Attribute 80 presence across all access point models ensures server-side enforcement will not disrupt client connections.


To explore related enterprise WiFi security architectures and diagnostic guides, review the following resources:

Key Definitions

BlastRADIUS (CVE-2024-3596)

A critical protocol-level vulnerability in RADIUS (RFC 2865) that enables an attacker to forge authentication responses using MD5 chosen-prefix collision techniques.

Disclosed in July 2024, affecting enterprise network infrastructure running unencrypted RADIUS authentication over UDP.

Message-Authenticator (Attribute 80)

A RADIUS header attribute defined in RFC 2869 that uses HMAC-MD5 to calculate a digital signature over the entire RADIUS packet.

Enforcing Attribute 80 blocks BlastRADIUS attacks because HMAC-MD5 is cryptographically immune to chosen-prefix collision manipulation.

Response Authenticator

A 16-byte field in RFC 2865 RADIUS packet headers calculated via MD5 digest over request authenticator, attributes, and shared secret.

The recipient access point relies on this digest to verify packet authenticity, which BlastRADIUS exploits.

RADSEC (RADIUS over TLS)

An RFC 6614 standard that encapsulates RADIUS authentication packets inside an encrypted TLS 1.3 TCP stream on port 2083.

Prevents man-in-the-middle packet interception across untrusted WAN links between access points and RADIUS servers.

EAP-TLS

Extensible Authentication Protocol - Transport Layer Security. An IEEE 802.1X mutual authentication standard using X.509 digital certificates.

Recommended by NIST and ISO 27001 frameworks as the primary replacement for legacy PAP/CHAP RADIUS authentication.

Worked Examples

How do network administrators verify whether existing wireless access points and switches enforce Message-Authenticator before enabling mandatory enforcement on RADIUS servers?

To audit Message-Authenticator compliance without breaking production WiFi access:

  1. Packet Capture Audit: Run Wireshark or tcpdump on the RADIUS server interface (UDP port 1812) to capture incoming Access-Request packets: tcpdump -i eth0 -n port 1812 -w radius_audit.pcap.
  2. Attribute Filter Inspection: Filter captured packets by radius.Message_Authenticator. Confirm that every client hardware type (access points, switches, wireless controllers) includes Attribute 80 in initial requests.
  3. Vendor Policy Test: Enable Message-Authenticator requirement on a single test RADIUS client profile before applying global enforcement across production FreeRADIUS, Cisco ISE, or Microsoft NPS servers.
Examiner's Commentary: Auditing client capabilities prior to server-side enforcement prevents legacy network switches or legacy APs from being locked out during maintenance windows.

How does a multi-site venue operator upgrade legacy FreeRADIUS installations to block BlastRADIUS while planning a zero-trust EAP-TLS migration?

A two-stage remediation plan maintains network operational continuity:

  1. Stage 1 (Immediate Hardening): Update FreeRADIUS to version 3.0.27 or 3.2.5. Edit clients.conf to set require_message_authenticator = yes and update radiusd.conf to reject unauthenticated packets.
  2. Stage 2 (Architecture Upgrade): Deploy RADSEC proxies on branch access points to wrap RADIUS traffic in TLS 1.3 tunnels (TCP port 2083) and integrate Purple Cloud RADIUS with automated SCEP enrollment for corporate devices.
Examiner's Commentary: Stage 1 closes the CVE-2024-3596 exploit vector immediately with zero hardware expenditure, while Stage 2 establishes long-term cryptographic isolation against WAN packet interception.

Practice Questions

Q1. Why does MD5 chosen-prefix collision allow an attacker to bypass RADIUS authentication without learning the shared secret?

Hint: Focus on how the MD5 Response Authenticator digest is verified by the wireless access point.

View model answer

In RFC 2865 RADIUS, the Access-Reject and Access-Accept packet digests depend on an MD5 hash of packet contents combined with the shared secret. An attacker with man-in-the-middle access inserts collision prefixes into proxy state attributes before forwarding the Access-Request. When the server returns an Access-Reject, the attacker alters the packet code to Access-Accept. Because MD5 chosen-prefix collisions produce identical hash output digests for different inputs, the access point validates the forged Access-Accept as authentic without ever knowing the shared secret.

Q2. Which RADIUS authentication methods are vulnerable to BlastRADIUS, and which methods are cryptographically immune?

Hint: Distinguish between legacy PAP/CHAP over UDP versus EAP protocols wrapped in TLS.

View model answer

RADIUS authentication modes relying on PAP, CHAP, and MS-CHAP over UDP are vulnerable because they rely directly on MD5 Response Authenticator validation. EAP-TLS, PEAP, and EAP-TTLS are immune to BlastRADIUS because EAP establishes an independent cryptographic TLS session between supplicant and server, bypassing reliance on the legacy RADIUS Response Authenticator digest for identity verification.

Got questions about your specific setup?

Our team works with venue operators, IT managers, and network engineers across 80,000 venues. Book a 20-minute call and we will show you how others like you solved it.