<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>5g-Security - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/5g-security/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sat, 29 Aug 2026 03:13:51 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/5g-security/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Race Condition in free5GC AUSF Authentication Context</title><link>https://feed.craftedsignal.io/briefs/2026-08-free5gc-ausf-race/</link><pubDate>Sat, 29 Aug 2026 03:13:51 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-free5gc-ausf-race/</guid><description>An authentication state race condition in free5GC AUSF allows an attacker to perform a targeted denial-of-service by overwriting authentication contexts keyed by SUPI, preventing successful subscriber authentication.</description><content:encoded><![CDATA[<p>The free5GC AUSF component (v1.4.4 and earlier) is vulnerable to a race condition that allows an attacker to selectively disrupt 5G authentication procedures for specific subscribers. The vulnerability stems from the use of a global <code>sync.Map</code> to store <code>AusfUeContext</code> objects, where the subscriber's Permanent Identifier (SUPI) serves as the sole lookup key. The implementation lacks logic to detect concurrent authentication sessions for the same subscriber, allowing subsequent requests to unconditionally overwrite existing contexts.</p>
<p>An attacker with network-level access to the Service Based Architecture (SBA) or the SBI/N12 interface can flood the AUSF with concurrent <code>POST /nausf-auth/v1/ue-authentications</code> requests for a targeted SUPI. By replacing the active authentication context mid-procedure, the attacker ensures that the legitimate EAP-AKA' response from the user is validated against mismatched session material (specifically <code>K_aut</code> and <code>XRES</code>). This causes integrity check failures and prevents the subscriber from completing authentication, effectively denying the service to the target.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The legitimate subscriber initiates a 5G authentication procedure.</li>
<li>The AUSF processes the initial request and stores the authentication context (<code>ctx_LEGIT</code>) in the global <code>UePool</code> map under the target's SUPI key.</li>
<li>The attacker identifies a target SUPI/SUCI and initiates a flood of concurrent <code>POST /nausf-auth/v1/ue-authentications</code> requests for that same identity.</li>
<li>Each malicious request causes the AUSF to overwrite the previous entry in the <code>UePool</code> map with a new context (<code>ctx_ATTACK</code>).</li>
<li>The target subscriber receives an authentication challenge and computes a valid EAP-AKA' response based on <code>ctx_LEGIT</code>.</li>
<li>The subscriber transmits the response to the AUSF <code>/eap-session</code> endpoint.</li>
<li>The AUSF retrieves the current (overwritten) context (<code>ctx_ATTACK</code>) from the map.</li>
<li>The integrity check (AT_MAC verification) fails because the response was signed using parameters from <code>ctx_LEGIT</code> while the AUSF validates against <code>ctx_ATTACK</code>, resulting in a service denial.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in a targeted denial of authentication service for any selected subscriber in a 5G network running vulnerable versions of free5GC. While the AUSF service remains operational and no sensitive authentication material is leaked, the impacted subscriber is unable to connect to the network as long as the attacker maintains the request flood. The scope of impact is limited to those with direct or proxied access to the AUSF internal SBI/N12 interface.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade free5GC AUSF to a version that addresses the context management vulnerability (patch status for v1.4.4+).</li>
<li>Implement a unique session identifier in the <code>AusfUeContext</code> and ensure authentication state lookups use this identifier rather than the SUPI.</li>
<li>Deploy logic to check for ongoing authentication procedures for a specific SUPI and reject concurrent attempts with <code>HTTP 409 Conflict</code>.</li>
<li>Enforce strict mTLS and OAuth2 requirements on all internal SBI traffic to prevent unauthorized access to the AUSF interface.</li>
<li>Enable rate limiting on authentication request endpoints to mitigate the impact of flooding attacks.</li>
</ol>
]]></content:encoded><category domain="severity">low</category><category domain="type">advisory</category><category>denial-of-service</category><category>free5gc</category><category>5g-security</category></item></channel></rss>