CVE-2017-0358 ntfs-3g: Modprobe influence vulnerability via environment variables

High 7.8 Published Updated

Local attackers can escalate privileges to root by exploiting environment variable handling in the NTFS-3G driver when executing modprobe.

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

What is CVE-2017-0358?

CVE-2017-0358 is a high-severity vulnerability in Debian Debian Linux, published on 13 Apr 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Jann Horn of Google Project Zero discovered that NTFS-3G, a read-write NTFS driver for FUSE, does not scrub the environment before executing modprobe with elevated privileges. A local user can take advantage of this flaw for local root privilege escalation.

Weakness: CWE-269

Which versions are affected by CVE-2017-0358?

It affects 2 products.

Linux distribution packages (7)
ntfs-3g_ntfsprogs SUSE:Linux Enterprise Desktop 12 SP3All versions2013.1.13-5.3.1
ntfs-3g_ntfsprogs SUSE:Linux Enterprise Desktop 12 SP4All versions2013.1.13-5.3.1
ntfs-3g SUSE:Linux Enterprise Software Development Kit 11 SP4All versions2011.4.12-0.9.3.1
ntfs-3g_ntfsprogs SUSE:Linux Enterprise Software Development Kit 12 SP3All versions2013.1.13-5.3.1
ntfs-3g_ntfsprogs SUSE:Linux Enterprise Software Development Kit 12 SP4All versions2013.1.13-5.3.1
ntfs-3g_ntfsprogs SUSE:Linux Enterprise Workstation Extension 12 SP3All versions2013.1.13-5.3.1
ntfs-3g_ntfsprogs SUSE:Linux Enterprise Workstation Extension 12 SP4All versions2013.1.13-5.3.1

Products include Debian Debian Linux, Tuxera Ntfs-3g.

How do I fix CVE-2017-0358?

Apply the vendor's patch.

Is CVE-2017-0358 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-0358 exists.

Public exploit code: 1 Metasploit module, 2 Exploit-DB entries and 1 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-0358, DLA-815-1, DSA-3780-1, GHSA-vghw-r4fc-pgpf, SUSE-SU-2018:2070-1, SUSE-SU-2018:3587-1 and 3 more.

Is CVE-2017-0358 in your software?

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

Check your SBOMs for free