Skip to content
Crypto Write-up Advanced

Attacking Oracle Native Network Encryption (CVE-2021-2351)

Several security issues were found in Oracle Native Network Encryption, the default protocol for securing client-server database connections. An attacker could hijack authenticated, cryptographically secured database connections and gain access to the database with the victim user's privileges.

Matthias Deeg Follow

Published on blog.syss.com

During a research project, SySS IT security expert Moritz Bechler found several security issues concerning the proprietary security protocol Oracle Native Network Encryption.

Matthias Deeg, on blog.syss.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely flaws in the design of Oracle's proprietary network encryption protocol that allow an attacker to hijack an established, authenticated session.

Impact

An attacker positioned on the network could hijack authenticated, encrypted database connections and act with the victim user's database privileges.

What the attacker needed

Attacker on the network path; victim has an active database connection

The fix

The vulnerabilities were fixed by Oracle in the July 2021 Critical Patch Update.

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 write-up has not been written yet. The Original tab links to the source.

When a database client talks to a database server, the traffic is normally encrypted so nobody in the middle can read or change it. This research found weaknesses in Oracle's own encryption protocol that let someone sitting on the network take over an already logged-in connection. Once taken over, that person can use the database as if they were the legitimate user.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by Matthias Deeg

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.