Oracle MySQL Cluster Data Node Stack-based Buffer Overflow Remote Code Execution Vulnerability
A stack-based buffer overflow exists in how Oracle MySQL Cluster Data Nodes process jobs, because the length of user-supplied data is not validated before it is copied into a fixed-size stack buffer. An unauthenticated remote attacker could exploit this to run code as the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Oracle MySQL Cluster. Authentication is not required to exploit this vulnerability.
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
Likely the Data Node job processing code copies user-supplied data into a fixed-size stack buffer without checking its length first.
Impact
A remote, unauthenticated attacker could execute arbitrary code in the context of the service account on affected MySQL Cluster installations.
What the attacker needed
Network access to the Data Node; no authentication needed
The fix
Oracle issued an update to correct the vulnerability.
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 buffer is a small reserved area of memory. When a program copies more data into it than it can hold, the extra data spills over into neighbouring memory, which is called a buffer overflow. Here the program trusts the size of incoming data, so someone sending a crafted request over the network could overwrite memory and potentially make the server run their own code, without needing to log in first.
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.