Skip to content
RCE Advisory Advanced

(Pwn2Own) Oracle Autonomous AI Database ORDS AutoUpgrade Servlet Command Injection Remote Code Execution Vulnerability

The AutoUpgrade servlet in Oracle REST Data Services fails to validate a configuration property before using it to build an OS command. An attacker who bypasses authentication could combine this with other flaws to run code as the oracle service account.

Nikolaos Mourousias Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

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.

Nikolaos Mourousias (@deltaclock) of OtterSec, on the Zero Day Initiative

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, but only after bypassing authentication and likely chaining with other vulnerabilities.

What the attacker needed

Authentication bypass; chaining with other vulnerabilities

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 web component takes a setting from its configuration and uses it to build a command for the operating system without checking it first. If an attacker can control that setting, they can make the server run their own commands. The report says authentication is needed but can be bypassed, so the attacker first gets past the login.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.