Skip to content
Access control Advisory Advanced CVE-2018-3211

Oracle Java Usage Tracker usagetracker.properties Privilege Escalation Vulnerability

A configuration file used by Oracle Java, usagetracker.properties, could be manipulated so that starting the JVM writes an arbitrary file containing attacker-controlled data. A local attacker who already runs low-privileged code could use this in some situations to raise their privileges to SYSTEM level.

Nelson William Gamazo Sanchez Follow

Originally disclosed on Zero Day Initiative

Medium 6.2 View original

This vulnerability allows local attackers to escalate privileges on vulnerable installations of Oracle Java. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Nelson William Gamazo Sanchez of Trend Micro Research, 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 usage tracker trusted the path and content settings in usagetracker.properties without checking who could write to them or where the output file was placed.

Impact

An attacker with low-privileged local code execution could, in certain situations, escalate to SYSTEM privileges; the text does not claim this works in every configuration.

What the attacker needed

Local low-privileged code execution; ability to modify usagetracker.properties

The fix

Oracle issued an update that corrects the flaw, so installing the patched Java version fixes it.

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.

Java runs programs inside a runtime called the JVM. It also reads a small settings file that tells it where to record usage data. If someone who already has a limited foothold on the machine can edit that settings file, they can make Java write a file of their choosing with content they choose, which can sometimes let them gain more control over the computer.

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.

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.

Broken access control

The lesson behind this report.

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.