CVE-2017-18188 Privilege escalation in n/a

Medium 5.5 Published Updated

Local attackers can gain ownership of arbitrary files via hard links if the fs.protected_hardlinks sysctl is disabled.

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-18188?

CVE-2017-18188 is a medium-severity vulnerability in n/a, published on 14 Feb 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

OpenRC opentmpfiles through 0.1.3, when the fs.protected_hardlinks sysctl is turned off, allows local users to obtain ownership of arbitrary files by creating a hard link inside a directory on which "chown -R" will be run.

Weakness: CWE-59

Which versions are affected by CVE-2017-18188?

It affects 1 product.

Products include Openr Opentmpfiles.

How do I fix CVE-2017-18188?

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

Is CVE-2017-18188 being exploited?

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

Sources

Also known as GHSA-v99h-q3gx-w24x, UBUNTU-CVE-2017-18188.

Is CVE-2017-18188 in your software?

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

Check your SBOMs for free