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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
From: mikx at (mikx)
Subject: Cross-Site Scripting - an industry-wide problem

Cross-Site Scripting - an industry-wide problem

In early december i started a series of tests to find Cross-Site Scripting 
(XSS) vulnerabilities. It quickly turned out that the majority of all major 
websites suffer some kind of XSS. This is a disclosure of 175 
vulnerabilities at once. Enjoy the ride...

Test scenario

A site was considered affected if it is possible to inject a javascript into 
the output page by making a browser GET or POST request to the webserver. As 
a proof-of-concept the script "alert(document.cookie)" got used.

All tests were made on a fully patched WinXP SP2 machine and Internet 
Explorer 6. Most of the proof-of-concept links in this report will not work 
using another browser, mainly because in many cases i used javascript in 
styles which isn't supported by browsers like Firefox and because Firefox 
automaticly applies character encoding to a URL. I was just too lazy to test 
each issue cross-browser, so this doesn't mean automaticly that Internet 
Explorer is more vulnerable to XSS.


In many cases XSS is reduced to the attack of stealing session cookies, but 
XSS can be used to do a lot more things. Using DOM manipulation you can 
change the target of a login form or fake one, change download links or 
simply insert your own content into a website. As part of mass-mailings this 
can be used for login data phishing, spreading of malware or distribution of 
false news that seem to come from a trustworthy source (which is an 
intresting option for daytraders on penny stocks for example).

Don't forget that the injected script is running in the security context of 
the affected site. If you know who you are attacking and that the victim has 
the affected site in a special trusted zone it can be possible to execute 
"not safe for scripting" ActiveX controls - giving you more or less total 
control. In intranets and for extranet web applications this is a not so 
uncommon configuration.

For sure XSS is nothing compared to a remote buffer overflow. But only 
because this "worst case scenario" is happening quite often these days, it 
does not mean XSS is not a security issue. XSS flaws are easy to find and 
spammers are always searching for new stuff.

Finally for some sites on the list dedicated to security a XSS flaw is just 
an embarrassing thing ;)

Affected sites

This list is reduced to the second-level domain for readability and posting 
size. This isn't always fair since sometimes a sub-domain is indepentend 
from the SLD. Please download the complete list of proof-of-concept links 

All webmasters were informed by an email and/or their website feedback forms 
during december, to give them a fair chance to react. Some of them replied 
really quick and patched the issue in a few hours, others (sadly a lot) 
never replied. If you are responsible for one of the affected sites and you 
have not been informed or are not able to reproduce the issue, please don't 
hesitate to contact me.

The sites in the tests were picked at random from international and german 
major websites and/or sites related to security/computers. I just tested 
what came to my head - so there is no "hidden message":,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, , ,,,,,,,,,,,,,,


It turned out that in some cases third party software used on the websites 
are suffering a bug. Here the Common Vulnerabilities and Exposures 
( names:

CAN-2004-1059 mnogosearch (as used at
CAN-2004-1061 bugzilla (as used at bug #272620)
CAN-2004-1062 viewcvs (as used at
CAN-2004-1146 cvstrac (as used at


I woud like to thank a few people for helping me out through the tests and 
working on fixing the issues as quickly as possible:

Christoph "Locke" Wehrmann (for making me addicted to XSS)
Mark J Cox (Red Hat Security Response Team)
Daniel Bachfeld (heisec)
Jamie McCarthy and Chris Nandor (slashcode)
Alexander Barkov (mnogosearch)
Microsoft Security Response Center
Google Security Team
Bugzilla Team
Everybody who responded to my report mail :)


Michael Krax <>

Happy Holidays!

Powered by blists - more mailing lists