QID 375741
Date Published: 2021-08-02
QID 375741: PowerShell Remote Code Execution Vulnerability
PowerShell Core is a cross-platform automation and configuration tool/framework that works well with your existing tools and is optimized for dealing with structured data, REST APIs, and object models.
A remote code execution vulnerability exists in .NET 5 and .NET Core due to how text encoding is performed.
Affected Versions:
PowerShell Version 7.0 Prior to 7.0.6
PowerShell Version 7.1 Prior to 7.1.3
QID Detection Logic: (Authenticated)
Operating System: Windows
The QID checks for vulnerable version of file pwsh.exe and QID checks for vulnerable version of PowerShell Core by running command pwsh --version on linux systems.
NOTE: The Windows check will only work for msi installations.
Successful exploitation of the vulnerability may allow an attacker to execute arbitrary code on the target system.
- Microsoft Security Advisory -
github.com/PowerShell/Announcements/issues/23
CVEs related to QID 375741
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| CVE-2021-26701 |
|