lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 4 Jan 2007 10:49:00 -0800 (PST)
From: RSnake <>
To: "Noe Espinoza M." <>
Cc: "'pdp (architect)'" <>,,,
	"'Web Security'" <>
Subject: Re: [WEB SECURITY] RE: Universal PDF XSS After Party(posible solution)

Be careful using either of those.  REQUEST_URI can contain anything:

For that example the request URI will be ..pathto..file.pdf?whatever
which does not match "\.pdf$".  Likewise the second one has issues,
including the fact that referrers are not always present (Zonelabs Zone
Alarm Pro, and both Norton Internet Security and Norton Personal
Firewall).  Also, referrers are spoofable using Flash.
(hat tip to Amit).


On Thu, 4 Jan 2007, Noe Espinoza M. wrote:

> We need to force to the users do download  the pdf files
> And we can add to the httpd.conf or .htaccess the next code
> SetEnvIf Request_URI "\.pdf$" requested_pdf=pdf
> Header add Content-Disposition "Attachment" env=requested_pdf
> Other solution is protect our pdf files to external links (hotlinking)
> Add in .htacces
> RewriteEngine on
> RewriteCond %{HTTP_REFERER} !^$
> RewriteCond %{HTTP_REFERER} !^http://([-a-z0-9]+\.)?example\.com[NC]
> RewriteRule .*\.(pdf)$ [R,NC,L]
> Source from
> -----Mensaje original-----
> De: pdp (architect) []
> Enviado el: jueves, 04 de enero de 2007 7:17
> Para:;; Web
> Security
> Asunto: Universal PDF XSS After Party
> Everybody knows about it. Everybody talks about it. We had a nice
> party. It is time for estimating the damages. In this article I will
> try to show the impact of the Universal PDF XSS vulnerability by
> explaining how it can be used in real life situations.
> -- 
> pdp (architect) | petko d. petkov

Powered by blists - more mailing lists