Bloomberg Comdb2 Distributed Transaction Commit/Abort Operation denial of service vulnerability
A remote client can send a COMMIT operation for an arbitrary transaction ID, setting the participant state to I_AM_COMMITTED, and then send an ABORT for the same ID, which triggers an assertion and aborts the comdb2 process. This causes a denial of service.
A denial of service vulnerability exists in the Distributed Transaction Commit/Abort Operation functionality of Bloomberg Comdb2 8.1. A specially crafted network packet 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 server does not validate that a transaction ID used in a COMMIT or ABORT request belongs to the client, allowing an attacker to set a participant state to committed and then trigger an abort assertion.
Impact
A remote unauthenticated attacker can crash the comdb2 database process, causing a denial of service.
What the attacker needed
Network access to the database or pmux service; no authentication required
How it was found
- Connect to the pmux service or directly to the database port.
- Send a newsql request containing a COMMIT operation with an arbitrary transaction ID.
- Send a newsql request containing an ABORT operation with the same transaction ID.
- The server aborts the process, causing denial of service.
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 database lets a client say 'commit this transaction' and later 'abort this transaction' using a transaction ID. If the client first commits an ID and then aborts the same ID, the database hits a safety check that kills the whole process. An attacker can do this remotely to crash the database.
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.