Skip to content
Path traversal Advisory Intermediate CVE-2022-39412

Oracle Access Management CustomReadServlet Directory Traversal Information Disclosure Vulnerability

The CustomReadServlet endpoint in Oracle Access Management fails to validate a user-supplied path in the ContextValue parameter before using it in file operations. An unauthenticated remote attacker could exploit this to read sensitive files and disclose stored credentials.

Anonymous Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Oracle Access Management. Authentication is not required to exploit this vulnerability.

Anonymous, 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

The application fails to validate the user-supplied path in the ContextValue parameter before using it in file operations, allowing directory traversal.

Impact

An unauthenticated attacker could disclose sensitive information, including stored credentials, which could lead to further compromise.

What the attacker needed

None

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.

A web server has a feature that reads files based on a value the user provides. Because the server does not check that value properly, an attacker can ask it to read files outside the intended folder, including files that hold passwords. No login is needed to try this.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Anonymous

View all

2,270 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.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.