Skip to content
XSS Advisory Intermediate CVE-2017-8550

Skype for Business Remote Code Execution Vulnerability (CVE-2017-8550)

Skype for Business and Lync Servers failed to properly sanitise specially crafted content, allowing an authenticated attacker to execute HTML and JavaScript in the client context. An attacker could open a web page in the default browser, start another messaging session, or trigger other URIs on the victim's system.

Christopher Ellis Follow

Originally disclosed on Microsoft

Description

A remote code execution vulnerability exists when Skype for Business and Microsoft Lync Servers fail to properly sanitize specially crafted content. An authenticated attacker who successfully exploited this vulnerability could execute HTML and JavaScript content in the Skype for Business or Lync context. An attacker could use this vulnerability to open a web page using the default browser, open another messaging session with someone else, or potentially trigger other URIs defined on the client’s system for another application. To exploit this vulnerability an attacker could invite a user to an instant message session and then send a message that contains specially crafted JavaScript content. The update addresses the vulnerability by correcting how Skype for Business and Lync Servers sanitize content.

FAQ

This security update is for the Click-to-Run (C2R) version only . For more information and the current Click-to-Run version number, see Office 365 client update channel releases . I am being offered this update for software that is not specifically indicated as being affected in the Affected Products table. Why am I being offered this update? When updates address vulnerable code that exists in a component that is shared between multiple Microsoft Office products or shared between multiple versions of the same Microsoft Office product, the update is considered to be applicable to all supported products and versions that contain the vulnerable component. For example, when an update applies to Microsoft Office 2007 products, only Microsoft Office 2007 may be specifically listed in the Affected Products table. However, the update could apply to Microsoft Word 2007, Microsoft Excel 2007, Microsoft Visio 2007, Microsoft Compatibility Pack, Microsoft Excel Viewer, or any other Microsoft Office 2007 product that is not specifically listed in the Affected Products table. Furthermore, when an update applies to Microsoft Office 2010 products, only Microsoft Office 2010 may be specifically listed in the Affected Products table. However, the update could apply to Microsoft Word 2010, Microsoft Excel 2010, Microsoft Visio 2010, Microsoft Visio Viewer, or any other Microsoft Office 2010 product that is not specifically listed in the Affected Products table. For more information on this behavior and recommended actions, see Microsoft Knowledge Base Article 830335 . For a list of Microsoft Office products that an update may apply to, refer to the Microsoft Knowledge Base Article associated with the specific update.

Skype for Business and Microsoft Lync

Skype for Business and Microsoft Lync

The original report as published on the Microsoft Security Response Center, by Christopher Ellis , Kaiser Permanente. 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 server failed to sanitise specially crafted message content before rendering it in the client.

Impact

An attacker could execute HTML and JavaScript in the Skype for Business or Lync context, potentially opening a web page, starting another messaging session, or triggering other URIs on the client system.

What the attacker needed

Authenticated attacker; victim accepts instant message session

The fix

The update was fixed by correcting how Skype for Business and Lync Servers sanitise content.

How it was found

  1. The attacker invites a user to an instant message session.
  2. The attacker sends a message containing specially crafted JavaScript content.

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.

Skype for Business is a messaging program. The server did not clean up messages properly, so a sender could include hidden code that runs inside the chat window. That code could make the victim's computer open a website or another app without clear permission.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.