☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON 🐛 CWE-20
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-29312

CVE-2025-29312 Denial of Service in Onos
📅 PUBLISHED: 2025-03-24 00:00 UTC 🔄 UPDATED: 2026-08-12 09:01 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.20%
👁️
0.20% probability
5.1× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: 2.7.0
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-29312 is a security advisory affecting ONOS (Open Network Operating System) version 2.7.0. The vulnerability allows an attacker to trigger unexpected behavior within a device connected to a legacy switch by changing the link type from indirect to direct. This manipulation can lead to network topology confusion, potential denial of service, or misrouting of traffic. The vulnerability has a CVSS score of 0.0 (unscored) and no known patch or public exploit at this time. The EPSS score is 0.0%, indicating low exploitation probability in the wild. This report provides a comprehensive technical analysis, detection engineering rules, and mitigation strategies.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • CVSS Score: 0.0 (Unscored)
  • Attack Vector (AV): Network (likely)
  • Attack Complexity (AC): Low (likely)
  • Privileges Required (PR): None (likely)
  • User Interaction (UI): None (likely)
  • Scope (S): Unchanged (likely)
  • Confidentiality (C): None (likely)
  • Integrity (I): Low (likely)
  • Availability (A): Low (likely)
  • Threat Level: Medium (due to potential for network disruption)

Deep Dive & Mechanics

The vulnerability resides in ONOS's link discovery and topology management subsystem. ONOS uses LLDP (Link Layer Discovery Protocol) and BDDP (Broadcast Domain Discovery Protocol) to discover network links and build a topology graph. Legacy switches may not support these protocols natively, requiring ONOS to infer link types (direct vs. indirect) based on packet forwarding behavior.

An attacker can exploit this by sending crafted packets that cause ONOS to misinterpret a link as direct when it is actually indirect. This can lead to:

  • Topology Poisoning: The controller believes there is a direct link between two devices, causing incorrect path calculations.
  • Traffic Blackholing: Packets may be forwarded to a non-existent direct link, resulting in packet loss.
  • Denial of Service: The controller may enter a loop recalculating paths, consuming CPU resources.
  • Bypass of Security Controls: Traffic may be rerouted through unintended paths, bypassing firewalls or monitoring tools.

The attack requires network access to the ONOS-controlled network and the ability to send packets that mimic LLDP/BDDP behavior.

Vulnerable vs. Patched Code

Since no patch is available, a comparison cannot be made. However, the vulnerable code likely resides in the link discovery module (e.g., LinkDiscoveryManager.java or similar). The fix would involve validating link type changes against known topology constraints and implementing rate limiting or cryptographic verification of link discovery packets.

Exploitation & Lab Setup

Red Team

Lab Setup:

  • ONOS 2.7.0 controller running on Ubuntu 20.04
  • Mininet network emulator with legacy switches (e.g., Open vSwitch with LLDP disabled)
  • Attacker machine with Python and Scapy

Exploitation Steps:

  1. Identify the ONOS controller IP and port (default 6653 for OpenFlow).
  2. Use Scapy to craft LLDP packets that mimic a direct link between two devices that are actually connected via an indirect path.
  3. Send the crafted packets to the legacy switch's data plane.
  4. Monitor ONOS's topology view to confirm the link type change.
  5. Observe traffic misrouting or controller instability.

Example Scapy Script:

from scapy.all import *
import sys

# Craft LLDP packet with direct link indication
lldp_pkt = Ether(dst="01:80:c2:00:00:0e", src="00:00:00:00:00:01") / \
           LLC(dsap=0xaa, ssap=0xaa, ctrl=0x03) / \
           SNAP(OUI=0x000000, code=0x88cc) / \
           LLDPDU(chassis_id="00:00:00:00:00:01", port_id="1", ttl=120)

# Send to legacy switch
sendp(lldp_pkt, iface="eth0")

Blue Team

Detection:

  • Monitor for unexpected LLDP/BDDP packets from unknown sources.
  • Use network anomaly detection to flag sudden topology changes.
  • Implement strict LLDP filtering on legacy switches.

Mitigation:

  • Disable automatic link discovery on untrusted interfaces.
  • Use authentication for LLDP packets (802.1X).
  • Implement rate limiting for topology change events.

Indicators of Compromise (IOCs)

  • Network: Unusual LLDP/BDDP packets with mismatched source MAC addresses.
  • Logs: ONOS logs showing rapid link type changes (e.g., "Link type changed from INDIRECT to DIRECT").
  • Topology: Sudden appearance of direct links between devices that are geographically or logically separated.
  • Traffic: Increased packet loss or routing loops in the network.

Detection Engineering

YARA Rule

rule CVE_2025_29312_LLDP_Anomaly {
    meta:
        description = "Detects crafted LLDP packets used in CVE-2025-29312 exploitation"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-29312"
    strings:
        $lldp_header = { 01 80 c2 00 00 0e }
        $direct_flag = { 02 01 00 01 }  // Example direct link TLV
    condition:
        $lldp_header at 0 and $direct_flag
}

Sigma Rule

title: CVE-2025-29312 - ONOS Link Type Manipulation
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects sudden link type changes in ONOS controller logs
author: Valters IT
date: 2025-04-10
logsource:
    product: onos
    service: controller
detection:
    selection:
        message: "Link type changed from INDIRECT to DIRECT"
    condition: selection
falsepositives:
    - Legitimate network reconfiguration
level: high

Suricata Rule

alert udp any any -> any 3784 (msg:"CVE-2025-29312 - ONOS LLDP Direct Link Spoofing"; content:"|01 80 c2 00 00 0e|"; depth:6; content:"|02 01 00 01|"; distance:20; within:4; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Actions:

    • Isolate legacy switches from the ONOS controller until a patch is available.
    • Disable automatic link discovery on interfaces connected to legacy switches.
    • Implement strict ACLs to filter LLDP/BDDP packets from untrusted sources.
  2. Long-term Fix:

  3. Compensating Controls:

    • Use network segmentation to limit exposure.
    • Deploy intrusion detection systems (IDS) with the provided Suricata rules.
    • Enable logging and alerting for topology changes.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

ONOS controller
onos v2.7.0
legacy switch link type
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-29312/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.