Bugtraq mailing list archives
Re: Squid cross-site scripting (Fw: Squid doesn't quote urls in error messages.)
From: Rude Yak <rudeyak () yahoo com>
Date: Wed, 18 Jul 2001 08:54:38 -0700 (PDT)
Short term, would it be possible to remove "%U" from ERR_* in squid/etc/errors, or does the issue apply to other %-tags in squid templates as well? -------------------------------------------------------------------------- I noticed that Squid 2.3.STABLE4 doesn't quote urls in error messages. For example if a user visits the following url http://www.dotcom.com/ <b>test</b> The user will get an invalid url page with test in bold. Or even more fun with: http://www.somecompany.com/<img src="http://www.mysite.com/mylogo.gif"> You can actually get a working form in such an error message! Javascript too. So it may be possible to rip out other site's cookies from browsers using this (see DKrypt's and other peoples stuff on it). Also maybe do a fake form/page :). __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Current thread:
- Squid cross-site scripting (Fw: Squid doesn't quote urls in error messages.) TAKAGI, Hiromitsu (Jul 18)
- <Possible follow-ups>
- Re: Squid cross-site scripting (Fw: Squid doesn't quote urls in error messages.) Rude Yak (Jul 19)