Skip to content
DoS Advisory Intermediate CVE-2020-6095

GStreamer gst-rtsp-server GstRTSPAuth Denial of Service Vulnerability

A crafted RTSP SETUP request with an excessively long Basic Authorization header causes the server to dereference a null pointer, leading to a segmentation fault and denial of service.

Peter Wang Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An exploitable denial of service vulnerability exists in the GstRTSPAuth functionality of GStreamer/gst-rtsp-server 1.14.5. A specially crafted RTSP setup request can cause a null pointer deference resulting in denial-of-service.

Peter Wang, on Cisco Talos

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The code fails to check if the authorization string is null before using it as a key in a hash table lookup, and the hash function dereferences the null pointer.

Impact

The server crashes with a segmentation fault, causing a denial of service.

What the attacker needed

Network access to RTSP server; No authentication required

How it was found

  1. Send an RTSP SETUP request with Basic Authentication.
  2. Include an Authorization header longer than 4000 characters.
  3. The server parses the header and sets the authorization value to null.
  4. The server calls g_hash_table_lookup with the null key, causing a null pointer dereference and 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 report has not been written yet. The Original tab links to the source.

The server software that handles video streaming requests (RTSP) has a bug. When it receives a login request with a very long password field, it tries to look up that password in a list but the password is empty, causing the program to crash. This means an attacker can stop the server from working by sending one specially crafted message.

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.

More by Peter Wang

View all

2 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

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.