Twenty Year Anniversary

National Instruments Linux Driver Remote Code Injection

National Instruments Linux Driver Remote Code Injection
Posted Jul 20, 2018
Authored by Enrico Weigelt

The National Instruments Linux driver package suffers from a remote code injection (software update) vulnerability.

tags | advisory, remote
systems | linux
MD5 | 1e28736b0d9553a7194f07575dca7de2

National Instruments Linux Driver Remote Code Injection

Change Mirror Download
Hello folks,

i've recently discovered a critical vulnerability in the National
Instruments Linux driver package, which opens up an remote code
injection (software update) vulnerability.


CRITICAL / 0day - easily exploitable


Complete takeover of the OS itself
Takeover of (potentially critical) industrial machinery

Affected product(s):

NI Linux Device Drivers / July 2018

Affected platforms(s):

GNU/Linux - RHEL, SLES (other distros aren't supported anyways)


The product adds additional package repositories to the OS'es package
manager, but disables signature checks and uses plain (unencrypted)
HTTP for software downloads.

Further details can be easily seen in the deployed package repository
configuration file (ni-software-2018.repo).

Attack vectors:

The victim can be tricked to download/install manipulated updates, eg.
via MITM, dns spoofing, etc - so the attacker can abuse software
updates for direct malware deployment and also take over the whole
operating system (eg. kernel) itself.


#1: remove the package 'ni-software-2018'
#2: make sure, the repo description files are removed:



#3: refresh the package manager index

This removes the NI repository from the OS'es package manager - the NI
software now can't be automatically installed/updated via package
manager anymore.

In case the operator still trusts the vendor enough to deploy it's
software, this now has to be done manually (note: the packages can
only be downloaded via insecure plain HTTP !). It's strongly adviced
not to install any software from untrusted sources / via untrusted

If an system update (even a minor patch) via package manager was done
in the meantime, it's *highly* adviced to carefully check all
installed packages against the original repositories - the system
easily could be compromised by now !


The vendor (NI) needs to setup proper package signing infrastructure,
add it's public key to the repo configuration and enable gpgcheck.

Final notes:

Since NI is one of few vendors with special certifications, eg. ATEX,
railway, etc, it's likely this hardware can be found in very critical
infrastructure (eg. power plants, factories, etc) and those
potentially could already be compromised by now via driver update.

About the author:

GNU/Linux veteran with strong background in software engineering,
embedded systems, industrial automation, IT infrastructure.

phone: +49-151-27565287

Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering -- +49-151-27565287


RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

November 2018

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    10 Files
  • 2
    Nov 2nd
    15 Files
  • 3
    Nov 3rd
    2 Files
  • 4
    Nov 4th
    2 Files
  • 5
    Nov 5th
    32 Files
  • 6
    Nov 6th
    27 Files
  • 7
    Nov 7th
    8 Files
  • 8
    Nov 8th
    9 Files
  • 9
    Nov 9th
    17 Files
  • 10
    Nov 10th
    2 Files
  • 11
    Nov 11th
    2 Files
  • 12
    Nov 12th
    33 Files
  • 13
    Nov 13th
    29 Files
  • 14
    Nov 14th
    23 Files
  • 15
    Nov 15th
    45 Files
  • 16
    Nov 16th
    11 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags


packet storm

© 2018 Packet Storm. All rights reserved.

Security Services
Hosting By