Skip to content
Memory corruption Advisory Advanced CVE-2018-8311

Remote Code Execution Vulnerability in Skype For Business and Lync (CVE-2018-8311)

Skype for Business and Microsoft Lync clients failed to properly sanitise specially crafted content, which could corrupt memory and allow an attacker to execute arbitrary code in the context of the current user. An attacker could host a malicious website or add crafted content to a compromised site and convince a user to view it, potentially taking control of the system if the user has administrative rights.

Ping Fan Ke Follow

Originally disclosed on Microsoft

Description

A remote code execution vulnerability exists when Skype for Business and Microsoft Lync clients fail to properly sanitize specially crafted content. The vulnerability could corrupt memory in a way that could allow an attacker to execute arbitrary code in the context of the current user. An attacker who successfully exploited the vulnerability could gain the same user rights as the current user. If the current user is logged on with administrative user rights, the attacker could take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. An attacker could host a specially crafted website that is designed to exploit the vulnerability through Microsoft Edge, and then convince a user to view the website. The attacker could also take advantage of compromised websites, or websites that accept or host user-provided content or advertisements, by adding specially crafted content that could exploit the vulnerability. In all cases, however, an attacker would have no way to force users to view the attacker-controlled content. Instead, an attacker would have to convince users to take action, typically via an enticement in email or instant message, or by getting them to open an email attachment. The security update addresses the vulnerability by modifying how Skype for Business and Lync clients sanitize content.

Skype for Business and Microsoft Lync

Skype for Business and Microsoft Lync

The original report as published on the Microsoft Security Response Center, by Ping Fan (Zetta) Ke of Valkyrie-X Security Research Group (VXRL). Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the clients did not properly sanitise specially crafted content, leading to memory corruption.

Impact

An attacker could execute arbitrary code with the same rights as the current user, and could take control of the system if that user has administrative rights.

What the attacker needed

Victim views attacker-controlled content; victim is convinced to take action

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a flaw in how the Skype for Business and Lync chat programs handle content they receive. Because they do not clean up that content properly, a malicious piece of content could confuse the program's memory and let an attacker run their own code on the victim's computer. The attacker cannot force someone to open the content; they have to trick the person into clicking a link or opening an attachment.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.