A remote code execution vulnerability exists in .NET software when the software fails to check the source markup of a file.
An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.
Exploitation of the vulnerability requires that a user open a specially crafted file with an affected version of .NET Framework. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file.
The security update addresses the vulnerability by correcting how .NET Framework checks the source markup of a file.
Please open a support question to discuss the PowerShell aspects of this advisory. Please use https://github.com/dotnet/wpf/issues/2424 for discussion of the .NET WPF aspects of this advisory.
The vulnerability affects PowerShell prior to the following versions:
| PowerShell Core Version | Fixed in | |-------------------------|-------------------| | 6.2 | Not Affected | | 7.0 | 7.0.0 |
If all of the following are true:
pwsh -v
, then, check the version in the table in Affected Software to see if your version of PowerShell is affected.pwsh
or pwsh.exe
, then you are affected. This only existed for preview version of 7.0
.Follow the instructions at Installing PowerShell to install the latest version of PowerShell.
If you have found a potential security issue in PowerShell, please email details to secure@microsoft.com.
You can ask questions about this issue on GitHub in the PowerShell organization. This is located at https://github.com/PowerShell/. The Announcements repo (https://github.com/PowerShell/Announcements) will contain this bulletin as an issue and will include a link to a discussion issue where you can ask questions.
You can uninstall the newer version of PowerShell and install the previous version of PowerShell. This should be treated as a temporary measure. Therefore, the script or module should be updated to work with the patched version of PowerShell.
Soroush Dalili (@irsdl)
<!-- TBD: update date --> V1.0 (March 10, 2020): Advisory published.
Version 1.0 Last Updated 2020-03-10
{ "nvd_published_at": null, "cwe_ids": [], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2024-02-02T21:04:47Z" }