This also works for the affected versions of Opera mentioned elsewhere on the list (9.10, 8.54)... -----Original Message----- From: Martin O'Neal [mailto:martin.oneal@xxxxxxxxxxxx] Sent: 04 January 2007 17:59 To: bugtraq@xxxxxxxxxxxxxxxxx; websecurity@xxxxxxxxxxxxx Subject: RE: [WEB SECURITY] Universal XSS with PDF files: highly dangerous I've had a better look at this now, and there seems to be a generic server side solution through the content-disposition header (at least for the versions of Firefox and IE which I have tested). If it is specified, the default installs of both products always produce a download dialog and don't open inline. Sample apache config for mitigation: <IfModule mod_headers.c> <FilesMatch "\.pdf$"> Header append Content-disposition "attachment;" </FilesMatch> </IfModule> Martin... ------------------------------------------------------------------------ ---- The Web Security Mailing List: http://www.webappsec.org/lists/websecurity/ The Web Security Mailing List Archives: http://www.webappsec.org/lists/websecurity/archive/ http://www.webappsec.org/rss/websecurity.rss [RSS Feed] ---------------------------------------------------------------------- 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@xxxxxxxxxxxx