(Pwn2Own) Oracle Autonomous AI Database ONNX Runtime Tree Ensemble Use-After-Free Information Disclosure Vulnerability
A use-after-free flaw in ONNX Runtime tree ensemble model initialisation within Oracle Autonomous AI Database allows an authenticated attacker to disclose sensitive information. The attacker can combine this with other vulnerabilities to execute arbitrary code as the oracle service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Oracle Autonomous AI Database. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.
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 code does not check that an object still exists before using it during tree ensemble model initialisation, leading to a use-after-free.
Impact
An authenticated attacker could disclose sensitive information and, by chaining with other vulnerabilities, execute arbitrary code in the context of the oracle service account.
What the attacker needed
Authentication (bypassable)
The fix
Oracle has issued an update to correct this 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 use-after-free happens when a program keeps using a piece of memory after it has been freed, so the data there can be read or changed unexpectedly. Here, the database's machine-learning component mishandles a model during setup, letting someone who is logged in read sensitive data. The report says this can be chained with other bugs to run code as the database service account.
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.