Skip to content
DoS Advisory Intermediate CVE-2023-51391

Silicon Labs Gecko Platform HTTP server header parsing invalid pointer dereference vulnerability

The HTTP server header parsing in Silicon Labs Gecko Platform [redacted] fails to check the return value of a string search function, leading to a NULL pointer dereference when a header lacks a colon. An attacker can send a crafted packet to cause a denial of service.

Kelly Patterson Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An invalid pointer dereference vulnerability exists in the HTTP server header parsing functionality of Silicon Labs Gecko Platform 4.3.2.0. A specially crafted network packet can lead to denial of service.

Kelly Patterson, 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 does not check the return value of `Str_Char_N` before incrementing and dereferencing the pointer, leading to a NULL pointer dereference.

Impact

A remote attacker can cause a denial of service by crashing the HTTP server; if address 1 is mapped and contains data, it could lead to further memory corruption.

What the attacker needed

Network access to the HTTP server

The fix

The vendor released a fixed version (4.4.2) that presumably checks the return value before using the pointer.

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.

This is a bug in a small web server used in embedded devices. When the server reads an HTTP header, it looks for a colon to separate the header name from its value. If the colon is missing, the search function returns a special 'nothing found' value, but the code does not check for that and later tries to use it as a memory address, causing the program to crash. An attacker can send a malformed request to crash the server, denying service to legitimate users.

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 Kelly Patterson

View all

20 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.