(Pwn2Own) Oracle Autonomous AI Database APEX Dynamic Execution Improper Authorization Privilege Escalation Vulnerability
The dynamic execution framework in Oracle APEX had incorrect authorization, allowing an authenticated attacker to bypass the existing authentication mechanism. This let them escalate privileges and execute arbitrary code as the ADMIN database user.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to escalate privileges 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 a missing or incorrect authorization check in the APEX dynamic execution framework, allowing a lower-privileged authenticated user to invoke code as ADMIN.
Impact
An authenticated attacker could escalate privileges and execute arbitrary code as the ADMIN database user, though the text notes authentication is required and the existing mechanism can be bypassed.
What the attacker needed
Access to an Oracle Autonomous AI Database; authentication, possibly bypassable
The fix
Oracle 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.
Oracle APEX is a tool for building web apps on an Oracle database. The report says a part of APEX that runs dynamic code did not check permissions properly, so someone who could log in could trick it into running their own code as the ADMIN database account.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.