Skip to content
XSS Advisory Beginner CVE-2019-0798

Skype for Business and Lync Spoofing Vulnerability (CVE-2019-0798)

A Lync or Skype for Business server failed to properly sanitise a specially crafted request, allowing an authenticated attacker to perform cross-site scripting. The attacker could run script in the security context of the current user if the victim clicked a crafted URL.

Malte Batram Follow

Originally disclosed on Microsoft

Description

A spoofing vulnerability exists when a Lync Server or Skype for Business Server does not properly sanitize a specially crafted request. An authenticated attacker could exploit the vulnerability by sending a specially crafted request to an affected server. The attacker who successfully exploited this vulnerability could then perform cross-site scripting attacks on affected systems and run script in the security context of the current user. For the vulnerability to be exploited, a user must click a specially crafted URL that takes the user to a targeted Lync or Skype for Business site. In an email attack scenario, an attacker could exploit the vulnerability by sending an email message containing the specially crafted URL to the user of the targeted Lync or Skype for Business site and convincing the user to click the specially crafted URL. The security update addresses the vulnerability by helping to ensure that Lync Server and Skype for Business Server properly sanitize web requests.

Skype for Business

Skype for Business

The original report as published on the Microsoft Security Response Center, by Malte Batram. 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 did not properly sanitise a specially crafted request before reflecting it back to the user.

Impact

An attacker could run script in the security context of the current user, but only if the victim clicks a crafted URL.

What the attacker needed

Attacker has an authenticated account; victim clicks a crafted URL

The fix

The security update was said to fix the issue by ensuring Lync Server and Skype for Business Server properly sanitise web requests.

How it was found

  1. An authenticated attacker sends a specially crafted request to the affected server.
  2. The attacker sends the victim an email containing a specially crafted URL.
  3. The victim clicks the URL and is taken to the targeted Lync or Skype for Business site, where the script runs.

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.

A web server that does not clean up (sanitise) user-supplied input can be tricked into sending harmful script back to a victim's browser. Here, an attacker who already has an account could craft a special web address; if a logged-in user clicks it, the attacker's script runs as that user inside the Skype for Business site. This is called cross-site scripting, or XSS.

What is XSS?

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

More by Malte Batram

View all

1 more disclosed report, best first.

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.