Reporting On and Remediating CVE-2019-0708 (Remote Desktop Services Remote Code Execution Vulnerability) with Tanium Patch

Microsoft’s latest major vulnerability comes with the guidance to update as soon as possible to prevent a worm from spreading through Remote Desktop-enabled Windows 7, Server 2008 R2, Server 2008, Server 2003, and XP systems. Fortunately, Tanium Patch can help you remediate vulnerable systems quickly and easily. For those Tanium users who don’t have Patch, there are other options to help assess and manage the vulnerability, see this article for more.

Windows 7 and Server 2008 Patch List Logic

To patch or report on these, create a Patch List using separate Rules (not Conditions) for each Patch, with the KB Article Comparison Column, Equals Comparison Type, and appropriate KB article in the Expression:


CVE-2019-0708_76c570a2-2be2-4373-9071-92585fbdb884.png

Depending on whether you are deploying Rollups or Security Only, you probably only want to include one or the other. If you’re not sure, you may want to see our runbook, Introducing Automation into a Low-touch, Safe, and Effective Monthly Patching Strategy. If you aren’t already doing regular patching with Tanium Patch or have not blacklisted either update type, the Security Only updates are recommended for your CVE-2019-0708 patch list. These are the minimum requirement to patch the vulnerability, and the Rollup will still be applicable even if the Security Only update is applied and the system is no longer vulnerable, giving you a potential false positive in your reporting. If you have blacklisted Rollups or Security Only updates, you can instead include all of the patches for this CVE with one rule, relying on the blacklist to filter out unnecessary updates, by using the CVE Comparison Column:


CVE-2019-0708_77b6b685-01ee-485d-b3d2-6e567d357141.png

You’ll probably want to future-proof the patch list by checking the “Include superseded patches” checkbox:


CVE-2019-0708_aafa9391-f449-4118-b083-cfec8fcceaa5.png

You can also copy and paste this text into a file and import it as a new Patch List, which includes both the CVE rule and rules for each update for this vulnerability. Be sure to remove any rules you don’t want to use after importing:

{"name":"CVE-2019-0708 – Remote Desktop Services Remote Code Execution Vulnerability","includeSupersededPatches":true,"rules":[{"name":"2019-04 Security Monthly Quality Rollup for Server 2008 (KB4499149)","conditions":[{"comparator":"equals","fieldName":"kbArticles","fieldValue":"KB4499149"}]},{"name":"KB4499164 2019-04 Security Monthly Quality Rollup for Server 2008 R2/Windows 7","conditions":[{"comparator":"equals","fieldName":"kbArticles","fieldValue":"KB4499164"}]},{"name":"2019-04 Security Only Quality Update for Server 2008 R2 / Windows 7 (KB4499175)","conditions":[{"comparator":"equals","fieldName":"kbArticles","fieldValue":"KB4499175"}]},{"name":"2019-04 Security Only Quality Update for Server 2008 (KB4499180)","conditions":[{"comparator":"equals","fieldName":"kbArticles","fieldValue":"KB4499180"}]},{"name":"CVE-2019-0708","conditions":[{"comparator":"contains","fieldName":"cveIds","fieldValue":"CVE-2019-0708"}]}],"patchTaniumUids":[],"osType":"windows","id":39}


CVE-2019-0708_65982888-27d4-4054-9922-2c3e95c691e5.png

Server 2003 and Windows XP Patching

Using the same logic as above, you can create a rule for KB Article Equals KB4500331, which is the only patch for Server 2003 and XP. However, Microsoft has not released the metadata for this patch into any of the normal venues for supported operating systems. In order to use this update with Tanium Patch, you must have WSUS configured, a WSUS Scan Configuration targeted at your XP/2003 systems, and the Patch must be manually imported in WSUS. Tanium can also be used to deploy this update outside of Patch. If you need to do this, reach out to your TAMs for assistance.

 Reporting

To report on the new Patch List, you can browse to the Patch List, scroll down to the Visibility section, and hold your cursor next to the Computer Group name or over the Applicable or Installed column to see what computers the patches are installed on, applicable to, or both in one view:


CVE-2019-0708_3d7cbd1b-421c-4e32-8853-54fc1ca46abc.png

CVE-2019-0708_2dec14e2-8900-40f2-90dc-630515a5a53e.png

You can also use Interact to ask for Patch List Compliance and get a view of simply whether or not patches from this list are missing per-system:

Get Patch - Patch List Compliance[0,,,,,,,,,"39,39"] from all machines

In this question, the “39,39” at the end is restricting the question to Patch List ID 39. You can see the Patch List ID at the top of the Patch List itself while viewing it and in the URL:


CVE-2019-0708_a9ca3c27-5d54-487e-82a2-a11e4355aede.png

This question will produce a result like this, showing you which systems are Non-compliant (they are missing patches from the list) and Compliant (there are not missing patches from this list).


CVE-2019-0708_9eba74f1-d0e9-45ef-ba97-b3e4942bc59a.png

This particular question is very useful for aggregate reporting and is perfect for a Tanium Trends Panel or exporting via Tanium Connect for reporting or use in third-party visualization tools. For more on reporting, see How to Monitor Patch List Compliance Using Trends.