Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-22012-Diameter-Protocol-Credit-Control-Bypass-in-5G | Kitploit
Tools/GitHubGitHub/george0papasotiriou/cve-2026-22012-diameter-protocol-credit-control-bypass-in-5g
Vulnerability AnalysisExploitationNetwork SecurityMobile Security
GitHubgeorge0papasotiriou/cve-2026-22012-diameter-protocol-credit-control-bypass-in-5g

CVE-2026-22012-Diameter-Protocol-Credit-Control-Bypass-in-5G

View Repository

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
15 days agoNot yet reviewed

CVE-2026-22012 – Diameter Protocol Credit‑Control Bypass in 5G

Program Code (Python Diameter sim)

root@kitploit:~
# diameter_credit_control_sim.py - Simulated OCS with missing final-unit indication
class OCS:
    def process_CCR(self, request):
        # Vulnerability: always returns SUCCESS with same quota, never sends final-unit
        return {'Result-Code': 2001, 'Granted-Service-Unit': {'CC-Total-Octets': 5000}}

class Client:
    def send_CCR(self):
        response = ocs.process_CCR({'type': 'INITIAL'})
        print(f"Received quota: {response['Granted-Service-Unit']}")

ocs = OCS()
client = Client()
client.send_CCR()

CVE-2026-22012 – Diameter Credit‑Control Bypass in 5G

Severity: High

Overview

A Diameter Credit‑Control Application fails to send the Final-Unit-Indication AVP when the subscriber’s balance is exhausted. The client continues to grant service without deducting credits, enabling unlimited free usage.

Vulnerability Details

  • Type: Logic Bypass
  • Impact: Revenue loss, network abuse.
  • Root Cause: The OCS (Online Charging System) does not signal termination; the gateway assumes quota is always available.

Exploit Demonstration

Run the simulation:

root@kitploit:~
python diameter_credit_control_sim.py

The client receives a fresh quota indefinitely.

Download Tool