VirtualBox

Changeset 90150 in vbox


Ignore:
Timestamp:
Jul 11, 2021 2:58:09 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145652
Message:

SUPHardNt: Ignore Nvidia certificate with bogus Key Usage if there is another valid signature. bugref:3103

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyImage-win.cpp

    r86610 r90150  
    12671267               one signature and one of them works out fine.  The RTLdrVerifySignature
    12681268               caller will have to check the failure counts though to make sure
    1269                something succeeded. */
     1269               something succeeded.
     1270
     1271               VERR_CR_PKCS7_KEY_USAGE_MISMATCH: Nvidia 391.35 nvldumpx.dll has an misconfigured
     1272               certificate "CN=NVIDIA Corporation PE Sign v2016" without valid Key Usage.  It is
     1273               rooted by "CN=NVIDIA Subordinate CA 2016 v2,DC=nvidia,DC=com", so homebrewn.
     1274               Sysinternals' sigcheck util ignores it, while MS sigtool doesn't trust the root.
     1275               It's possible we're being too strict, but well, it's the only case so far, so no
     1276               need to relax the Key Usage restrictions just for a certificate w/o a trusted root.
     1277               */
    12701278            pNtViRdr->rcLastSignatureFailure = rc;
    12711279            if (   rc == VERR_CR_X509_CPV_NOT_VALID_AT_TIME
    1272                 || rc == VERR_CR_X509_CPV_NO_TRUSTED_PATHS)
     1280                || rc == VERR_CR_X509_CPV_NO_TRUSTED_PATHS
     1281                || rc == VERR_CR_PKCS7_KEY_USAGE_MISMATCH)
    12731282            {
    12741283                SUP_DPRINTF(("%s: Signature #%u/%u: %s (%d) w/ timestamp=%#RX64/%s.\n", pNtViRdr->szFilename, pInfo->iSignature + 1, pInfo->cSignatures,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette