CVE-2017-18925 Path traversal in n/a

Medium 5.5 Published Updated

Local attackers can exploit symlink handling flaws in opentmpfiles to take ownership of arbitrary files, leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-18925?

CVE-2017-18925 is a medium-severity path traversal vulnerability in n/a, published on 26 Oct 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

opentmpfiles through 0.3.1 allows local users to take ownership of arbitrary files because d entries are mishandled and allow a symlink attack.

Weakness: CWE-59

Which versions are affected by CVE-2017-18925?

It affects 1 product.

Products include Openr Opentmpfiles.

How do I fix CVE-2017-18925?

No fix has been published for CVE-2017-18925 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2017-18925 being exploited?

There is no known exploitation of CVE-2017-18925 in the wild and no public exploit code.

Sources

Also known as GHSA-q42f-hxw2-5vgx, UBUNTU-CVE-2017-18925.

Is CVE-2017-18925 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free