CVE-2025-8801

5.3 MEDIUM

📋 TL;DR

This vulnerability in Open5GS AMF component allows remote attackers to cause denial of service by exploiting a flaw in the gmm_state_exception function. Systems running Open5GS versions up to 2.7.5 are affected. The vulnerability can be triggered remotely without authentication.

💻 Affected Systems

Products:
  • Open5GS
Versions: up to 2.7.5
Operating Systems: Linux, Unix-like systems
Default Config Vulnerable: ⚠️ Yes
Notes: Affects AMF component specifically; requires AMF to be running and accessible

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete AMF service disruption leading to 5G network unavailability for affected subscribers

🟠

Likely Case

AMF service crashes requiring manual restart, causing temporary service interruption

🟢

If Mitigated

Limited impact with proper network segmentation and monitoring

🌐 Internet-Facing: HIGH - Remote exploitation possible without authentication
🏢 Internal Only: MEDIUM - Requires network access but no authentication

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploit details publicly disclosed in GitHub repository; remote exploitation demonstrated

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.7.6

Vendor Advisory: https://github.com/open5gs/open5gs/releases/tag/v2.7.6

Restart Required: Yes

Instructions:

1. Backup current configuration. 2. Stop Open5GS services. 3. Upgrade to version 2.7.6 via package manager or source compilation. 4. Apply patch f47f2bd4f7274295c5fbb19e2f806753d183d09a if compiling from source. 5. Restart Open5GS services.

🔧 Temporary Workarounds

Network Segmentation

Linux

Restrict network access to AMF component to trusted sources only

iptables -A INPUT -p tcp --dport [AMF_PORT] -s [TRUSTED_NETWORK] -j ACCEPT
iptables -A INPUT -p tcp --dport [AMF_PORT] -j DROP

🧯 If You Can't Patch

  • Implement strict network access controls to limit AMF exposure
  • Deploy rate limiting and monitoring for AMF service anomalies

🔍 How to Verify

Check if Vulnerable:

Check Open5GS version: open5gs-amfd --version | grep '2.7'

Check Version:

open5gs-amfd --version

Verify Fix Applied:

Verify version is 2.7.6 or later: open5gs-amfd --version

📡 Detection & Monitoring

Log Indicators:

  • AMF service crashes
  • gmm_state_exception errors
  • unexpected AMF restarts

Network Indicators:

  • Unusual traffic patterns to AMF port
  • Multiple connection attempts from single source

SIEM Query:

source="open5gs.log" AND ("AMF crash" OR "gmm_state_exception" OR "segmentation fault")

🔗 References

📤 Share & Export