(Pwn2Own) Oracle Autonomous AI Database Export Directory Exposure of Resource to Wrong Sphere Remote Code Execution Vulnerability
The DBMS_CLOUD_CONTAINER_ADMIN package in Oracle Autonomous AI Database did not properly validate a user-supplied path before using it in file operations. An attacker who could bypass the existing authentication could exploit this to run arbitrary code as the oracle service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code 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
Impact
An attacker could execute arbitrary code in the context of the oracle service account, though authentication is required and the existing authentication mechanism can be bypassed.
What the attacker needed
Access to the database; bypass of the authentication mechanism
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 database package accepted a file path from a user and used it without checking where it pointed. Because the path was not checked, someone could make the database touch files it should not, and in this case that led to running their own code on the server. The report says login was needed, but that the login check could itself be bypassed.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.