CVE-2018-16588 Privilege escalation in n/a
Local attackers can escalate privileges because useradd creates intermediate directories with world-writable permissions during user creation.
- 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-2018-16588?
CVE-2018-16588 is a high-severity vulnerability in n/a, published on 26 Sep 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Privilege escalation can occur in the SUSE useradd.c code in useradd, as distributed in the SUSE shadow package through 4.2.1-27.9.1 for SUSE Linux Enterprise 12 (SLE-12) and through 4.5-5.39 for SUSE Linux Enterprise 15 (SLE-15). Non-existing intermediate directories are created with mode 0777 during user creation. Given that they are world-writable, local attackers might use this for privilege escalation and other unspecified attacks. NOTE: this would affect non-SUSE users who took useradd.c code from a 2014-04-02 upstream pull request; however, no non-SUSE distribution is known to be affected.
Weakness: CWE-732
Which versions are affected by CVE-2018-16588?
It affects 1 product.
Products include Suse Shadow.
How do I fix CVE-2018-16588?
No fix has been published for CVE-2018-16588 yet. Limit exposure of the affected software until one is available.
Is CVE-2018-16588 being exploited?
There is no known exploitation of CVE-2018-16588 in the wild and no public exploit code.
Sources
Also known as GHSA-xp85-jf82-g597.