Microsoft Access Tampering Vulnerability (CVE-2018-0799)
Microsoft Access failed to sanitise input to image fields edited in Design view, allowing a crafted file to run JavaScript in the victim's security context. An attacker could read content they were not authorised to read, act on a remote site as the victim, and inject malicious content into the victim's browser.
Originally disclosed on Microsoft
Description
A cross-site-scripting (XSS) vulnerability exists when Microsoft Access does not properly sanitize inputs to image fields edited within Design view. An attacker could exploit the vulnerability by sending a specially crafted file to a victim, or by hosting the file on a web server. The attacker who successfully exploited the vulnerability could then run javascript in the security context of the current user. The attacks could allow the attacker to read content that the attacker is not authorized to read, use the victim's identity to take actions on a remote site on behalf of the user, and inject malicious content in the browser of the user. The security update addresses the vulnerability by helping to ensure that Microsoft Access properly sanitizes image field values.
Microsoft Office
Microsoft Office
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 image field values edited in Design view were rendered without proper sanitisation, so script content was treated as executable.
Impact
An attacker could run JavaScript in the victim's security context, read content they are not authorised to read, act on a remote site as the victim, and inject malicious content into the victim's browser.
What the attacker needed
Victim opens a crafted file; or victim visits a page hosting the file
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.
Cross-site scripting, or XSS, is when a program shows attacker-supplied text as if it were part of a trusted page, so the attacker's code runs in the victim's browser. Here a database program, Microsoft Access, put unsanitised values from an image field into a place where they were treated as code. Opening a malicious file could therefore let the attacker's script run with the victim's permissions.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.