MindShaRE: When MySQL Cluster Encounters Taint Analysis
MySQL Cluster's management and data node ports accept unauthenticated network input, and several registered signal handlers use that input as an array index or buffer length without validation. An attacker who can reach those ports could trigger out-of-bounds writes or memcpy-style overflows, potentially crashing or corrupting the node.
Published on zerodayinitiative.com
Recently, the ZDI received multiple submissions of vulnerabilities in MySQL Cluster. MySQL Cluster is a clustering solution providing linear scalability and high availability for the MySQL database management system.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely missing validation of untrusted network input before it is used as an array index or buffer size, so no sanitiser sits between the source and the sink.
Impact
An attacker able to reach the cluster management or data node ports without authentication could cause out-of-bounds writes and memcpy-style overflows, which may crash or corrupt the node; the text does not claim code execution.
What the attacker needed
Network access to cluster node ports; no authentication required
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 write-up has not been written yet. The Original tab links to the source.
MySQL Cluster is a set of database servers that talk to each other over the network. Some of the messages they accept are trusted too much: a number sent by the network is used directly to pick a slot in an array, so a crafted message can write past the end of that array. That kind of mistake can crash the service or corrupt memory.
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.