Bloomberg Comdb2 net_connectmsg Protocol Buffer Message null pointer dereference vulnerability
A null pointer dereference in the net_connectmsg Protocol Buffer message handling of Bloomberg Comdb2 8.1 allows an attacker to send a specially crafted network packet that causes the service to crash, leading to a denial of service.
A null pointer dereference vulnerability exists in the netconnectmsg Protocol Buffer Message functionality of Bloomberg Comdb2 8.1. A specially crafted network packets can lead to a denial of service.
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 whether the Protocol Buffer decoding function returned NULL before dereferencing the result.
Impact
A remote, unauthenticated attacker could crash the Comdb2 service, causing a denial of service.
What the attacker needed
Network access to the Comdb2 service
How it was found
- Create a database instance and start the comdb2 service.
- Query the pmux service to find the port number of the target database.
- Send a packet starting with 0x00 and 0x2A, followed by a 32-bit length and an invalid Protocol Buffer message.
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.
A null pointer dereference happens when a program tries to use a memory address that points to nothing (zero). In this case, the database server receives a malformed message, fails to decode it, but then still tries to read from the failed result, causing it to crash. An attacker can exploit this by sending a single bad network packet, which stops the database from working.
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.