XSS on Techcrunch Page

General discussion about the NoScript extension for Firefox
Post Reply
qwerty017
Junior Member
Posts: 24
Joined: Wed Mar 10, 2010 4:11 pm

XSS on Techcrunch Page

Post by qwerty017 »

Page: http://techcrunch.com/2012/11/14/uber-class-action-lawsuit-response/
Console Errors: Can't post as it keeps getting caught in the spam filter. Please go to the page and check the Console for the errors received.
Last edited by therube on Thu Nov 15, 2012 6:35 pm, edited 1 time in total.
Reason: fixed broken URL
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:19.0) Gecko/19.0 Firefox/19.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: XSS on Techcrunch Page

Post by therube »

Is this what you're seeing?

Code: Select all

[NoScript XSS] Sanitized suspicious request. Original URL [http://wpcomwidgets.com/?frameborder=0&scrolling=no&resize=1&replace_attributes=1&fallback=%3Cp+class%3D%22protected-embed-fallback%22%3EThis+embed+is+invalid%3C%2Fp%3E&width=600&height=800&_data=PGlmcmFtZSBpZD0iZG9jXzYxMTMwIiBzcmM9Imh0dHA6Ly93d3cuc2NyaWJkLmNvbS9lbWJlZHMvMTEzMjY5MjU2L2NvbnRlbnQ%2Fc3RhcnRfcGFnZT0xJmFtcDt2aWV3X21vZGU9c2Nyb2xsJmFtcDthY2Nlc3Nfa2V5PWtleS1ydXM1dWFkbHIwM2w3N3lwZDFjIiBoZWlnaHQ9IjgwMCIgd2lkdGg9IjYwMCIgZGF0YS1hdXRvLWhlaWdodD0iZmFsc2UiIGRhdGEtYXNwZWN0LXJhdGlvPSIiPjwvaWZyYW1lPg%3D%3D%2Cc8d76ae56cc5a4f7f3ebbdddafe9d7746e452666&_tag=protected-iframe&_hash=495086da9201912f82d87c0ba5bcfa9f] requested from [http://techcrunch.com/2012/11/14/uber-class-action-lawsuit-response/]. Sanitized URL: [http://wpcomwidgets.com/?frameborder=0&scrolling=no&resize=1&replace_attributes=1&fallback=%20p+class%20%20protected-embed-fallback%20%3EThis+embed+is+invalid%20/p%3E&width=600&height=800&_data=PGlmcmFtZSBpZD0iZG9jXzYxMTMwIiBzcmM9Imh0dHA6Ly93d3cuc2NyaWJkLmNvbS9lbWJlZHMvMTEzMjY5MjU2L2NvbnRlbnQ%2Fc3RhcnRfcGFnZT0xJmFtcDt2aWV3X21vZGU9c2Nyb2xsJmFtcDthY2Nlc3Nfa2V5PWtleS1ydXM1dWFkbHIwM2w3N3lwZDFjIiBoZWlnaHQ9IjgwMCIgd2lkdGg9IjYwMCIgZGF0YS1hdXRvLWhlaWdodD0iZmFsc2UiIGRhdGEtYXNwZWN0LXJhdGlvPSIiPjwvaWZyYW1lPg%20%20%2Cc8d76ae56cc5a4f7f3ebbdddafe9d7746e452666&_tag=protected-iframe&_hash=495086da9201912f82d87c0ba5bcfa9f#543225106806905452].
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14
qwerty017
Junior Member
Posts: 24
Joined: Wed Mar 10, 2010 4:11 pm

Re: XSS on Techcrunch Page

Post by qwerty017 »

therube wrote:Is this what you're seeing?
That is one of the messages I am seeing. I am seeing a total of 5. 3 for [NoScript InjectionChecker] HTML injection: and 2 for [NoScript XSS] Sanitized suspicious request.

EDIT: That's strange. Even replying to your post with the code throws up the spam blocker. Weird.
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:19.0) Gecko/19.0 Firefox/19.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: XSS on Techcrunch Page

Post by Giorgio Maone »

They're sending and rendering potentially dangerous HTML fragments around.
I'm not sure there's a suitable work-around.
Does this actually cause the page to malfunction?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
qwerty017
Junior Member
Posts: 24
Joined: Wed Mar 10, 2010 4:11 pm

Re: XSS on Techcrunch Page

Post by qwerty017 »

Giorgio Maone wrote:They're sending and rendering potentially dangerous HTML fragments around.
I'm not sure there's a suitable work-around.
Does this actually cause the page to malfunction?
It stops the embedded PDF from showing and instead shows the text "No hotlinking please.".
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:19.0) Gecko/19.0 Firefox/19.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: XSS on Techcrunch Page

Post by Giorgio Maone »

Hum, you can add the following line to your NoScript Options|Advanced|XSS exceptions box then:

Code: Select all

^http://wpcomwidgets\.com/?[^<"'\(]+$
I'll try to incorporate a safe exception in next release.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
qwerty017
Junior Member
Posts: 24
Joined: Wed Mar 10, 2010 4:11 pm

Re: XSS on Techcrunch Page

Post by qwerty017 »

Giorgio Maone wrote:Hum, you can add the following line to your NoScript Options|Advanced|XSS exceptions box then:

Code: Select all

^http://wpcomwidgets\.com/?[^<"'\(]+$
I'll try to incorporate a safe exception in next release.
Added the exception rule which worked for 3 of the messages but I am still seeing 2 left and the embed is still not showing.
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:19.0) Gecko/19.0 Firefox/19.0
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: XSS on Techcrunch Page

Post by therube »

This set of domains looks to work without dealing with wordpress/wp* at all, so no XSS:

Code: Select all

+scribd.com
+scribdassets.com
+techcrunch.com
Now I did have to click on the placeholder, twice, before the scribd* domains showed up, but to me that seems a better route?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14
Post Reply