CVE-2020-16886:Security Feature Bypass in PowerShellGet V2 Module

splash
Back

Description Preview

A security feature bypass vulnerability exists in the PowerShellGet V2 module that could allow an attacker with administrator privileges to bypass Windows Defender Application Control (WDAC) policy and execute arbitrary code on a policy locked-down machine. The vulnerability stems from improper URL processing in the module.

Overview

CVE-2020-16886 affects the PowerShellGet V2 module, which is used for installing and managing PowerShell modules. The vulnerability allows an attacker with administrator privileges to bypass Windows Defender Application Control (WDAC) policy restrictions. To exploit this vulnerability, an attacker would need to create a configuration that includes installing the PowerShellGet V2 module from the PowerShell Gallery onto a machine with WDAC configured to allow the module to run. Once this is done, PowerShell script can be injected and executed with full trust, enabling arbitrary code execution on the affected system. This vulnerability specifically relates to how the module processes URLs, which could be manipulated to bypass security controls.

Remediation

To address this vulnerability, Microsoft has released a security update that changes how URLs are processed in the PowerShellGet V2 module. Users should:

  1. Apply the latest Microsoft security updates through Windows Update
  2. Ensure PowerShellGet module is updated to the latest version
  3. Review WDAC policies to ensure they are properly configured
  4. Monitor for suspicious PowerShell activity, especially in environments where PowerShellGet is used
  5. Consider implementing additional security controls such as PowerShell logging and constrained language mode where appropriate

References

  1. Microsoft Security Advisory: https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-16886
  2. Microsoft Security Response Center: https://msrc.microsoft.com/
  3. PowerShellGet documentation: https://docs.microsoft.com/en-us/powershell/module/powershellget/
  4. Windows Defender Application Control documentation: https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/windows-defender-application-control

Industry ExposureMost to least
This section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.

  1. Manufacturing
    Manufacturing
  2. Health Care & Social Assistance
    Health Care & Social Assistance
  3. Educational Services
    Educational Services
  4. Public Administration
    Public Administration
  5. Arts, Entertainment & Recreation
    Arts, Entertainment & Recreation
  6. Finance and Insurance
    Finance and Insurance
  7. Professional, Scientific, & Technical Services
    Professional, Scientific, & Technical Services
  8. Retail Trade
    Retail Trade
  9. Transportation & Warehousing
    Transportation & Warehousing
  10. Utilities
    Utilities
  11. Accommodation & Food Services
    Accommodation & Food Services
  12. Administrative, Support, Waste Management & Remediation Services
    Administrative, Support, Waste Management & Remediation Services
  13. Agriculture, Forestry Fishing & Hunting
    Agriculture, Forestry Fishing & Hunting
  14. Construction
    Construction
  15. Information
    Information
  16. Management of Companies & Enterprises
    Management of Companies & Enterprises
  17. Mining
    Mining
  18. Other Services (except Public Administration)
    Other Services (except Public Administration)
  19. Real Estate Rental & Leasing
    Real Estate Rental & Leasing
  20. Wholesale Trade
    Wholesale Trade

Focus on What Matters

  1. See Everything.
  2. Identify True Risk.
  3. Proactively Mitigate Threats.

Let's talk!

background