Skip to content
DoS Write-up Intermediate

Executive Summary

A NULL pointer dereference in the belle-sip library allows an attacker to crash any SIP client using it by sending a crafted SIP header containing a single forward slash. The vulnerability is remotely exploitable without user interaction, causing a denial-of-service condition.

claroty.com

Published on claroty.com

Since many networks are a mix of operational technology and internet of things (IoT) devices, it makes sense to analyze these connected physical systems from a research perspective. The risk any IoT vulnerability poses can be substantial, and every day we're seeing more evidence of attackers and researchers…

Sharon Brizinov, on claroty.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the SIP parser accepts non-SIP URIs (like a single slash) as valid, leading to a NULL scheme pointer that is dereferenced without checking.

Impact

An attacker can remotely crash any SIP client using belle-sip, causing a denial-of-service condition without any user interaction.

What the attacker needed

SIP client using belle-sip; network access to the client

The fix

The vulnerability was fixed in belle-sip version 4.5.20.

How it was found

  1. Craft a SIP INVITE request with a From, To, or Diversion header containing a single forward slash.
  2. Send the request to a SIP client that uses belle-sip.
  3. The client parses the header, treats the slash as a valid URI, and attempts to extract a scheme.
  4. The scheme is NULL, and a comparison function dereferences it, causing a crash.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

SIP is a protocol used for setting up voice and video calls over the internet. A library called belle-sip parses these messages, and a mistake in how it handles certain headers can cause the program to crash when it receives a malformed message. An attacker can send such a message to crash the victim's phone or device, disrupting communication.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.