NoScript InjectionChecker

Ask for help about NoScript, no registration needed to post
DienerG
Posts: 2
Joined: Tue Sep 08, 2015 2:59 pm

NoScript InjectionChecker

Post by DienerG »

Hey there,
My Situation:
I started (on openSUSE 13.2) tor via the terminal (normal firefox was already running).
I later noticed that the Terminalname was renamed to "Browser.bak (deleted)" where it should actually just be "Browser"
So i typed "Browser.bak (deleted)" in duckduckgo.com (not in tor but in my normal browser) and i got the
"NoScript filtered a potential cross-site scripting (XSS) attempt from [chrome:]..."
message.
So i checked the log and it said:

Code: Select all

[NoScript InjectionChecker] JavaScript Injection in ///?q=browser.bak (deleted)&t=opensuse
(function anonymous() {
q=browser.bak (deleted) /* COMMENT_TERMINATOR */
DUMMY_EXPR
})
[NoScript XSS] Sanitized suspicious request. Original URL [https://duckduckgo.com/?q=browser.bak+%28deleted%29&t=opensuse] requested from [chrome://browser/content/browser.xul]. Sanitized URL: [https://duckduckgo.com/?q=browser.bak+%20deleted%20&t=OPENsuse#602271173348...].
And there was this log too:

Code: Select all

 Unknown RPC service: widget-csi-tick-I0... 
I also noticed that there are many logs from [NoScript - ClearClick] Swallowed event click on ....


Does anyone have an idea about that "browser.bak (deleted)" and why i get the JavaScript Injection msg (and if its serious or not!)?

/E the injection message only apears when I use the search bar, not if I type the "browser.bak (deleted)" directly in the duckduckgo search bar
Last edited by DienerG on Tue Sep 08, 2015 4:18 pm, edited 1 time in total.
Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
barbaz
Senior Member
Posts: 11142
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript InjectionChecker

Post by barbaz »

No idea the browser.bak terminal title but the XSS warning is because your search query is syntactically valid JavaScript.
You can add

Code: Select all

^@chrome://
to your XSS exceptions if you want not have that warning?
*Always* check the changelogs BEFORE updating that important software!
-
DienerG
Posts: 2
Joined: Tue Sep 08, 2015 2:59 pm

Re: NoScript InjectionChecker

Post by DienerG »

Thanks for the answer!

But why is
[https://duckduckgo.com/?q=[b]browser.ba ... t=opensuse[/b]]
valid js syntax while
[https://duckduckgo.com/?q=[b]browser.ba ... 2271173348[/b]...].
is not?

its just the switch from "(deleted)" to " deleted "
Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
barbaz
Senior Member
Posts: 11142
Joined: Sat Aug 03, 2013 5:45 pm

Re: NoScript InjectionChecker

Post by barbaz »

The only way I can answer that is to point you to a JavaScript tutorial, so here: https://developer.mozilla.org/Learn/JavaScript
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply