Repository navigation
feat(windows): judge RD Licensing, Fax Server, OCSP and NFS CVEs by role - #173
Merged
Merged
Conversation
MSRC files these roles' CVEs under the OS product, so every server was reported for them. Their findings now carry requiresFeatures, as the other roles do: Remote Desktop Licensing (Licensing), Fax Server (FaxServiceRole), the OCSP responder (OnlineRevocationServices), and the five Network File System tags. NFS needs any one of the server, client and parent features, since most NFS tags do not say which side a CVE is in and the client side alone installs and starts the shared ONCRPC XDR driver. 617 of the 5,785 Windows Server advisories can now be judged, up from 541. The client fax app and the OCSP management console tags are left out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
MSRC files the CVEs of optional server roles under the OS product, so every
Windows Server is reported for them whether or not it runs the role. Eleven
roles already carry
requiresFeatures; Fax Service, the OCSP responder andNetwork File System were listed as "not reviewed yet", and Remote Desktop
Licensing was not listed at all. Their CVEs applied to every server, NFS among
them with several CVSS 9.8 remote code execution flaws.
Change
src/config/windows-role-features.tsgains:LicensingFaxServiceRoleOnlineRevocationServicesServerForNFS-Infrastructure,ClientForNFS-Infrastructure,ServicesForNFS-ServerAndClientCVE is in, and the client side alone installs and starts the shared ONCRPC
XDR driver (
rpcxdr.sys).Online Certificate Status Protocol (OCSP) SnapIn" (the management console).
and HTTP.sys stay "not reviewed yet".
No data migration: the component tag is already stored, so search results carry
requiresFeaturesas soon as this is deployed, and heretix-management sets thefindings aside at the next scan.
Evidence
not installed by default and a server without it is not vulnerable
(CVE-2022-22024 and others), that the RD Licensing service must be running
and reachable (CVE-2024-43455), and that NFS CVEs are exploitable only with
the NFS role enabled (CVE-2022-24491, CVE-2022-34715).
Get-WindowsOptionalFeatureon Windows Server2022.
rpcxdr.sys,portmap.sys,nfssvr.sysornfsrdr.sysis inSystem32\drivers, and noNFS driver or service is registered; the files are only staged in WinSxS.
Enabling
ClientForNFS-Infrastructureinstalled and startedrpcxdr.sysand
nfsrdr.sys.Checked
a local instance: 617 findings carry
requiresFeatures.NFS findings are set aside as not affected (
code_not_present); with onlythe client-side NFS features they stay open. Fax, RD Licensing and OCSP had
no unfixed CVE at that build, so they were not exercised end to end.