[+] Credits: John Page aka hyp3rlinx [+] Website: hyp3rlinx.altervista.org [+] Source: http://ift.tt/2gfiOuu [+] ISR: ApparitionSec Vendor: ================= www.microsoft.com Product: =========== PowerShell PowerShell (including Windows PowerShell and PowerShell Core) is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language built on the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both local and remote Windows systems as well as WS-Management and CIM enabling management of remote Linux systems and network devices. Vulnerability Type: =================== XML External Entity CVE Reference: ============== N/A Vulnerability Details: ===================== PowerShell can read and process XML files, this is by design. However, its XML parser is vulnerable to XXE attacks, if a user reads a malicious XML file using powershells XML API. This can potentially allow local files to be accessed and exfiltrated to an attackers server. **MSRC response: "behavior by design for parsing".** Issue is that this setting is default, this puts 'unknowing' users at risk for XXE attacks and file disclosure. After running PS to process an Evil XML file from Windows CL you may see errors like: "Cannot convert value "System.Object[]" to type "System.Xml.XmlDocument". Error: "Invalid character in the given encoding" OR "Exception calling "Load" with "1" argument(s): "Unexpected DTD declaration." However, the Local to Remote file access theft still works as planned... Tested Windows 7 SP1 PS C:\> $psversiontable Name Value
Source: Gmail -> IFTTT-> Blogger
No comments:
Post a Comment