(Pwn2Own) Oracle Autonomous AI Database APEX Password Change External Control of Critical State Vulnerability
The APEX workspace administration password change page fails to properly validate externally supplied state data, allowing an attacker to tamper with session state. This can be combined with other vulnerabilities to bypass authentication on the system.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to tamper with session state on affected installations of Oracle Autonomous AI Database. 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 password change page accepted client-supplied state data without validating it against the server-side session, letting an attacker influence critical session state.
Impact
An unauthenticated remote attacker could tamper with session state and, combined with other vulnerabilities, bypass authentication; the advisory does not show the bypass on its own.
What the attacker needed
Network access to the APEX instance; another vulnerability to chain with
The fix
Oracle issued an update to correct the vulnerability; the text does not describe the fix's mechanism.
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 web application keeps track of who you are using a session, a small piece of state stored on the server. Here the page that handles password changes for administrators trusted some of that state even though it came from outside the application, so an attacker could alter it. On its own this does not log anyone in, but it can be chained with another bug to get past the login check.
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.