Aerospike Database Server RW Fabric Message Particle Type Code Execution Vulnerability
The Aerospike Database Server's RW fabric message handler fails to validate a particle type index, allowing an out-of-bounds array access. An attacker can send a crafted packet to the fabric port to execute arbitrary code remotely.
Originally disclosed on Cisco Talos
An exploitable out-of-bounds indexing vulnerability exists within the RW fabric message particle type of Aerospike Database Server 3.10.0.3. A specially crafted packet can cause the server to fetch a function table outside the bounds of an array resulting in remote code execution.
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
Impact
An attacker could execute arbitrary code remotely, potentially taking full control of the server.
What the attacker needed
Network access to fabric port
How it was found
- Connect to the fabric port (e.g., 3001).
- Send an AS_FABRIC message containing a node identifier field.
- Send an AS_RW message with operation type WRITE and a RECORD field containing a bin with a type value greater than 24.
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 uses a number from the network packet as an index into a list of function pointers without checking if the number is within the list's size. By sending a large number, an attacker can make the server call a function pointer from outside the list, potentially executing malicious code.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.