Bugtraq mailing list archives

RE: [WEB SECURITY] Universal XSS with PDF files: highly dangerous


From: "Martin O'Neal" <martin.oneal () corsaire com>
Date: Thu, 4 Jan 2007 16:42:50 -0000


"One possible work around on the server side:
Direct your web server to serve .pdf files as mime type 
"application/octet" That way the files will be saved to 
disk instead of opening in the browser plug in."

Firefox works fine with this, but depending upon which version of IE you
have (and which platform it is installed on) this probably wont work by
default, as IE will ignore the MIME type and base it's decision on the
file extension.

Martin...




----------------------------------------------------------------------
CONFIDENTIALITY:  This e-mail and any files transmitted with it are
confidential and intended solely for the use of the recipient(s) only.
Any review, retransmission, dissemination or other use of, or taking
any action in reliance upon this information by persons or entities
other than the intended recipient(s) is prohibited.  If you have
received this e-mail in error please notify the sender immediately
and destroy the material whether stored on a computer or otherwise.
----------------------------------------------------------------------
DISCLAIMER:  Any views or opinions presented within this e-mail are
solely those of the author and do not necessarily represent those
of Corsaire Limited, unless otherwise specifically stated.
----------------------------------------------------------------------
Corsaire Limited, 3 Tannery House, Tannery Lane, Send, Surrey, GU23 7EF
Telephone: +44(0)1483-226000  Email:info () corsaire com


Current thread: