Rapid7 Vulnerability & Exploit Database

MFSA2010-05: XSS hazard using SVG document and binary Content-Type

Back to Search

MFSA2010-05: XSS hazard using SVG document and binary Content-Type

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
Published
02/17/2010
Created
07/25/2018
Added
02/22/2010
Modified
02/13/2015

Description

It has been reported that when a SVG document which is served with Content-Type: application/octet-stream is embedded into another document via an <embed> tag with type="image/svg+xml", the Content-Type is ignored and the SVG document is processed normally. A website which allows arbitrary binary data to be uploaded but which relies on Content-Type: application/octet-stream to prevent script execution could have such protection bypassed. An attacker could upload a SVG document containing JavaScript as a binary file to a website, embed the SVG document into a malicous page on another site, and gain access to the script environment from the SVG-serving site, bypassing the same-origin policy.

Solution(s)

  • mozilla-firefox-upgrade-3_6
  • mozilla-firefox-upgrade-3_5_8
  • mozilla-firefox-upgrade-3_0_18

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;