A vulnerability recently addressed in Outlook for Android allows an attacker to steal information from the affected device.
The vulnerability, Microsoft reveals, resides in the manner in which Outlook for Android parses specifically crafted email messages. To exploit the flaw, an authenticated attacker needs to send a specially crafted email message to the victim.
“The attacker who successfully exploited this vulnerability could then perform cross-site scripting attacks on the affected systems and run scripts in the security context of the current user,” the software giant explains in an advisory.
Tracked as CVE-2019-1105, the vulnerability was addressed last week “by correcting how Outlook for Android parses specially crafted email messages.”
F5 Networks security researcher Bryan Appleby, who reported the flaw to Microsoft, explains that the issue begins with the ability to embed an iframe into the email message.
The stored XSS allows the attacker to perform whatever action they desire, including stealing information and exfiltrating data.
“An attacker can send you an email and just by you reading it, they could steal the contents of your inbox. Weaponized, this can turn into a very nasty piece of malware,” the researcher notes.
The issue was initially discovered in December 2018, and Microsoft was immediately alerted on the matter. However, because the security team could not reproduce the bug, the vulnerability remained unpatched.
“[I] thought about how to extract the rendered HTML from the app. I realized that the key was the bug itself! The bug let me steal data from the app—I could use it to read and extract the HTML,” Appleby explains.
The researcher then discovered that the bug occurred in the client-side code, where it made phone numbers clickable. Due to localization settings, the bug would trigger only if the phone number was recognized as valid.
A new proof-of-concept (PoC) was submitted to Microsoft at the end of March, using a full US phone number format, which allowed the company’s security team to reproduce the bug and confirm its existence.
“It is always important for both individual and enterprise users to keep their applications up to date in order to lower the risk of exploitation of known vulnerabilities. It’s also important to seek and report security vulnerabilities, so we can all have safer products—and, obviously, keep our systems patched to avoid getting burned by these new holes when they are released,” the researcher concludes.
Related: Microsoft Patches Privilege Escalation Flaws Disclosed by ‘SandboxEscaper’
Related: Microsoft Patches Critical Vulnerabilities in NTLM