The first time I used Chrome during a web application security review I had a rather unpleasant surprise. I had audited applications from the same developers before and found countless XSS errors. This time it looked like they had fixed all those problems! Little did I know that Chrome was actually performing filtering for reflected XSS attacks, and it wasn’t the developers. I almost got bitten hard by missing a lot of vulnerabilities and afterwards I just avoided Chrome completely for any type of testing. I also rely very heavily on a few FireFox plugins: Firebug, Web Developer, and Tamperdata are just a few examples, but in Chrome’s early days there just weren’t a lot of plugins.
There were other plugins missing from Chrome that I don’t use for security testing, but I use for everyday web surfing. There are a few absolutely necessary plugins for performing any sort of general browsing: NoScript and Ad Block Plus. I heavily rely on these in Firefox.
It’s been a few years and I guess it’s time to have another look.
General Settings:
- The first problem to tackle is the Cross Site Scripting Auditor. Fortunately there is a command line flag that disables the functionality: –disable-xss-auditor. Simple enough.
- The next problem is that Chrome uses the system proxy settings (in both Windows and Mac OS) which can be problematic for me (sometimes I will have several browsers running at the same time–I don’t use the same browser for testing and general surfing, mostly because it can create a lot of noise in an intercepting proxy.) There is a command line switch for this too: –proxy-server=host:port
C:\Users\<Your UserName Here>\AppData\Local\Google\Chrome\Application\chrome.exe --args --disable-xss-auditor --proxy-server=127.0.0.1:8081


