I emailed Apache this:
Hey
It's possible to run JavaScript on an arbitrary server using the
Response header. This works only in IE (tested with IE and FF) as FF
doesn't support/allow the header. To be honest I don't know if this is
IE fault or Apache, why I'd naturally lean towards it being IE fault,
I have this feeling that the Apache server is partly to blame too.
I've written about this here:
http://blogs.securiteam.com/index.php/archives/628
If you just want to test this yourself have a look here (in IE):
http://ha.ckers.org/expect.swf?http://www.mazda.com
http://ha.ckers.org/expect.swf?http://www.beyondsecurity.com
I'm not entirely sure how to fix this either, the only thing I can
come up with so far is creating a custom error page.
Thanks for your time.
Sid
The reply:
Hi Sid; This was previously reported in May, see
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-3918
We fixed this by escaping the Expect error message in Apache HTTP Server
1.3.35, 2.0.58, and 2.2.2. I notice that this isn't mentioned on our
vulnerbilities page, which we'll correct tommorrow.
Thanks for contacting us.
Regards, Mark
Edit: oh and since the previous darkreading one was fixed, here's more:
http://www.darkreading.com/boards/message.asp?msg_id=138506<script>alert('xss')</script>
http://www.darkreading.com/boards/search.asp?search=<script>alert('xss')</script>&topic_id=30&thread_id=121715&filter=message_subject
Don't forget our IRC: irc://irc.irchighway.net/#slackers
-
WhiteAcid - your friendly, very lazy, web developer
Edited 2 time(s). Last edit at 09/21/2006 05:27PM by WhiteAcid.