UPDATED 10-16-20: Use Tanium to Find and Remediate CodeMeter Vulnerabilities (CVE-2020-16233, CVE-2020-14517, CVE-2020-14513, CVE-2020-14509, CVE-2020-14519, CVE-2020-14515)

Go to article update history

Multiple vulnerabilities have been discovered in CodeMeter software from Wibu Systems, several of which could allow for unauthenticated remote code execution over the network. The CodeMeter software is typically found in manufacturing environments and is used to configure and control Industrial Control Systems. The list of CVEs is shown below:

 CVE-2020-14517, CVE-2020-14513, CVE-2020-14509, CVE-2020-16233, and CVE-2020-14515

Tanium users can quickly find and remediate these vulnerabilities at enterprise scale.  This article will show how with out-of-the-box solutions.

Tracking Risk Exposure/Finding the Issue in Your Environment

Tanium Interact

The following Interact query can be used to search for the vulnerability:

Endpoint Hostname and vulnerable version:

Get Computer Name and Installed Application Version[CodeMeter] from all machines with Installed Application Version[CodeMeter] < 7.10

Note:

This question returns Computer Name and current version of CodeMeter for endpoints with a CodeMeter version lower than 7.10, which is the version that is required to mitigate CVE-2020-16233, CVE-2020-14517, CVE-2020-14513, CVE-2020-14509, CVE-2020-14519, and CVE-2020-14515.

The following Interact query can be used as targeting to manually deploy a package for the software update:

Get Online from all machines with Installed Application Version[CodeMeter] < 7.10

**Note: **This question returns the total count of endpoints that have a vulnerable version of the software installed and can also be used as a targeting question to manually deploy a Tanium Package containing a patched version of the software. 

Tanium Comply

Navigate to Tanium Comply → Benchmarks → VulnerabilityEnsure that the Tanium Vulnerability Library (TVL) shows a “Modified” date of on or after 10/15/2020 12:00 PM ET

If the TVL is outdated, you can manually update by clicking on the “Update” button that shows when hovering over the “Tanium Vulnerability Library” section.


UPDATED101620Us_f7215259-2c62-4094-96c0-4f8fc708f35a.png

If the TVL has been updated, do a quick search in the “Search for CVE’s” section for the following CVE’s (comma separated):

CVE-2020-16233, CVE-2020-14517, CVE-2020-14513, CVE-2020-14509, CVE-2020-14519, CVE-2020-14515


UPDATED101620Us_a5f49148-0abd-4572-91f3-a15aee12a118.png

Click search and validate that the CVE’s show up in the search results:


UPDATED101620Us_5bdc1ea6-6bf3-4eb6-8331-118cefa0e2ba.png

Now we can create a report by navigating to Tanium Comply → Reports → Create Report → Vulnerability Report


UPDATED101620Us_050084b6-6907-40c0-adff-6b4539a6a9f9.png

In the report parameters, populate the following fields:


UPDATED101620Us_7c7fd7dc-5520-4d17-9c0d-30202d247a80.png

Under “List of Individual CVE’s,” list out the CVE’s (comma separated):

CVE-2020-16233, CVE-2020-14517, CVE-2020-14513, CVE-2020-14509, CVE-2020-14519, CVE-2020-14515


UPDATED101620Us_63798a68-b7d6-4eae-a00c-124a561d53e2.png

Create separate reports for each operating system type that CodeMeter is installed on (Windows, Mac, Linux).

For scheduling, increase the “Distribute Over” time (DoT) to over an hour for highly virtualized environments. If not, leave the DoT at 30 minutes.

Because we would like to continuously report on the progress of your remediation efforts, it is okay to repeat these scans “Using report age” of “1 day.” Be sure to either increase “Using report age” time to 7+ days or cancel the scans once you’ve validated that the vulnerabilities have been patched or remediated. Once all the fields have been populated, click “Create & Deploy”


UPDATED101620Us_0d0bf09b-451c-4586-91d9-050df6bc99e0.png

For more information on Comply, please refer to: https://docs.tanium.com/comply/comply/index.html.

Remediation

Tanium Core Package

Securely download the patched version of CodeMeter from your vendor (based on how you have implemented CodeMeter, this may be one of multiple vendors/applications, see https://www.wibu.com/us/products/codemeter.html for details), and create a new Software Package as follows. Our example below is updating CodeMeter via Rockwell’s FactoryTalk Activation Manager application.

You can create a Tanium Package to target vulnerable machines.Navigate to Tanium → Content → Packages → New Package

Note: Your actual values will pertain to how CodeMeter is installed in your environment.

Enter the following values:


UPDATED101620Us_c798a4fc-184d-476d-ab84-eb0c938149bf.png

Optionally include a Verification Query to validate successful installation:


UPDATED101620Us_7e8af51b-5ebf-4fa7-8a4c-335a7b54032e.png

Save the package, then navigate to Interact and ask the following question for package targeting:

Get Online from all machines with Installed Application Version[CodeMeter] < 7.10


UPDATED101620Us_594a33d1-5676-4331-aac5-6ea0b43e33f6.png

Click “True” then “Deploy Action” and select your newly created Package. You may choose a one-time Action, or you can leverage the Schedule Deployment functionality to reissue this package at your chosen interval. Please work with your TAM if you need additional support.

For more information, please see https://docs.tanium.com/platform_user/platform_user/authoring_packages.html#Create_a_Package

Tanium Deploy

Customers that own Tanium Deploy can use it to mitigate these vulnerabilities. Securely download the patched version of CodeMeter from your vendor (based on how you have implemented CodeMeter, this may be one of multiple vendors/applications, see https://www.wibu.com/us/products/codemeter.html for details), and create a new Software Package as follows. Our example below is updating CodeMeter via Rockwell’s FactoryTalk Activation Manager application.

Navigate to Tanium Deploy → Software → New Software Package

*Note: Your actual values will pertain to how CodeMeter is installed in your environment.


UPDATED101620Us_8fb6b795-4c6b-47b0-9f55-719c64a4bbdd.png

UPDATED101620Us_2953ecd4-6924-4d3d-8615-ae91fc500657.png

UPDATED101620Us_bf315a36-f7a7-4873-93d1-e45dda78f375.png

UPDATED101620Us_e7181159-c721-4197-986d-b5e4842a449e.png
*

You can now use this new Software Package to create a Deployment according to your organization’s Maintenance Windows and/or publish this Package to your Self-Service Profile.

For more information on Deploy, please refer to: https://docs.tanium.com/deploy/deploy/index.html.

Final Notes

This post will be updated as needed with any changes or updated CVEs. If you have any questions, please contact your Tanium Technical Account Manager.

Article Update History

Date

Details

10/12/2020

First publication

10/16/2020

Included CVE-2020-16233Added Comply sectionAdded remediation section with Core Package