Skip to content
RCE Advisory Advanced CVE-2021-2396

Oracle Business Intelligence UpdateConnectionServlet JNDI Injection Remote Code Execution Vulnerability

The UpdateConnectionServlet class in Oracle Business Intelligence failed to properly validate user-supplied data, allowing an authenticated attacker to trigger JNDI injection and execute arbitrary Java code. An attacker could leverage this to run code in the context of the service account.

Quynh Le Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Oracle Business Intelligence. Authentication is required to exploit this vulnerability.

Quynh Le of VNPT ISC, 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

Root cause

Likely the servlet passed unvalidated user input into a JNDI lookup, letting an attacker point it at a malicious naming or directory service that returns code to be loaded.

Impact

An authenticated attacker could execute arbitrary code as the service account, though the text does not describe any mitigating controls.

What the attacker needed

Authentication to the application

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.

This is a flaw in a business reporting product from Oracle. A logged-in user could send crafted input to a particular web component, and because the product did not check that input properly, the attacker could make the server run their own Java code. That means the attacker effectively gains control of the server process.

What is RCE?

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

More by Quynh Le

View all

10 more disclosed reports, best first.

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.