Be careful going to user lookups . . .

For Neopets ONLY discussion.

Moderator: Moderators

Locked
Message
Author
Morningstar
Beyond Godly
Beyond Godly
Posts: 2834
Joined: Mon May 31, 2004 4:32 pm
Location: Far, far away

Be careful going to user lookups . . .

#1 Post by Morningstar »

Be careful, everyone. I was just reading a board in the battledome chat. A person with a two week old account, no shop and no stats was telling people to go to his userlookup. When they go, they lose about 250 nps with each refresh. I looked at the guy's source code for the lookup and he has a code in his lookup that automatically makes you purchase certain high priced stocks

By putting this in his background, he is getting people to buy stock that they might not want to buy. And though that might not seem so bad, it clearly shows that there is a security issue with the new user lookups. Because this person is making this so public, I am worried that others might get the idea to put this type of coding in their user lookups to do worse, like get a person to buy some overpriced thing from their shop or donate to the money tree. I reported it over an hour ago and yet no one has done anything. In fact, others on the board were laughing about it. Obviously they have never gotten hit by a CGer.

Anyway, if some person unknown to you asks you to go to their userlookup, you might want to pass until TNT fixes this.

Removed code just in case some other annoying person copies the idea
Image
Tested made this fabulous set for me!!! Isn't it great?
ahoteinrun
Honorary Member
Honorary Member
Posts: 4587
Joined: Mon May 31, 2004 6:33 am
Location: Being PWNED

#2 Post by ahoteinrun »

Well thats just rather awful isn't it? What kind of sick twisted person has that much time on their hands?

That being said. Everyone go to my user look up... it's 123FOOLEDU321
Image
Evisceration is a sign of respect.
Morningstar
Beyond Godly
Beyond Godly
Posts: 2834
Joined: Mon May 31, 2004 4:32 pm
Location: Far, far away

#3 Post by Morningstar »

Well, since Neo wasn't doing a thing about it, I posted about it on charter chats. I think that helped to get staff's attention beause i got a lot of response to it. And my guess is that some of those people also reported him. The guy's board was deleted and the coding is out of his userlookup, But he isn't frozen. And one would guess that they haven't patched the hole yet. So this could happen again. Hopefully, the programmers will get wind of it and fix it soon.

I don't want to cause mass hysteria, but then again, I have been hit by a CGer in the past, and so I am now a little gun shy when people take it upon themselves to mess with coding.
Image
Tested made this fabulous set for me!!! Isn't it great?
Cerise
PPT Warrior
PPT Warrior
Posts: 858
Joined: Thu Sep 08, 2005 10:12 pm
Location: Pittsburgh, PA

#4 Post by Cerise »

Maybe the person with that code in their lookup had been mailing TNT about the problem, didnt see it fixed yet, and so stuck the code in for a fast response. Something like "hey, I told you it could happen! Fix it now!" Or they just felt like being annoying. Either way, I hope it gets fixed quickly, and thanks for the warning.
Image
psyco_chick32
PPT Warrior
PPT Warrior
Posts: 892
Joined: Fri Apr 22, 2005 5:47 pm

#5 Post by psyco_chick32 »

Cerise wrote:Maybe the person with that code in their lookup had been mailing TNT about the problem, didnt see it fixed yet, and so stuck the code in for a fast response. Something like "hey, I told you it could happen! Fix it now!" Or they just felt like being annoying. Either way, I hope it gets fixed quickly, and thanks for the warning.


That could very well be.

But that doesn't countenance him directing innocent users to his lookup. Yeah it was reported, but other people have to deal with it.

It's things like these that keep me from visiting any lookup.
Image
Kyuubi made me this totally awesome set!!
I <3 Kyuubi!
Demulesca
PPT Toddler
PPT Toddler
Posts: 109
Joined: Thu May 17, 2007 7:31 am
Location: Canada
Contact:

#6 Post by Demulesca »

Hmm I wonder what kind of coding he used for it. I wasn't aware that you could put anything but HTML in the box but I guess not.
Morningstar
Beyond Godly
Beyond Godly
Posts: 2834
Joined: Mon May 31, 2004 4:32 pm
Location: Far, far away

#7 Post by Morningstar »

Removed code just in case some other annoying person copies the idea


Whichever mod did that, thanks! It was extremely late last night when I posted this and I wasn't thinking. For anyone interested in what kind of coding it was, the person put coding in their user look that automatically forced a person to buy a certain number of shares of a certain stock.

Cerise wrote:Maybe the person with that code in their lookup had been mailing TNT about the problem, didnt see it fixed yet, and so stuck the code in for a fast response. Something like "hey, I told you it could happen! Fix it now!"


Doubtful. The account was two weeks old with one pet, no shop and barely any stats (games played=1, avs=3, bd fights=0). This wasn't a long term player who saw a problem in coding. This was either someone with a warped sense of humor or someone who might be testing the waters and planning bigger and badder things. *shudder*
Image
Tested made this fabulous set for me!!! Isn't it great?
Erin
PPT God
PPT God
Posts: 1093
Joined: Tue Jul 27, 2004 8:47 pm

#8 Post by Erin »

So if you didn't have enough neopoints on hand to complete the transaction, would it still go through?
Image
Morningstar
Beyond Godly
Beyond Godly
Posts: 2834
Joined: Mon May 31, 2004 4:32 pm
Location: Far, far away

#9 Post by Morningstar »

Erin wrote:So if you didn't have enough neopoints on hand to complete the transaction, would it still go through?


No, it didn't go through if you didn't have the cash on hand. It also wouldn't go through if you had purchased your maximum share of stocks for the day. So, best advice, I guess, if you are going to an unknown user's lookup is to make sure you have 0 nps on hand. At least til Neopets fixes this. When I reported this, I indicated that someone needed to alert a programmer about this hole in their security system. I also have written a few people who have connections with TNT staff members, including a programmer or two, so hopefully it will get fixed soon.
Image
Tested made this fabulous set for me!!! Isn't it great?
AySz88
PPT Trainee
PPT Trainee
Posts: 549
Joined: Wed Jun 22, 2005 2:07 pm
Location: Huntington, NY
Contact:

#10 Post by AySz88 »

I haven't seen the exploit code, so out of curiosity... Is this one of those things that could have been prevented with one of those "Oops! You were directed to this page from the wrong place!" screens?
~Habitual over-analyzer
Morningstar
Beyond Godly
Beyond Godly
Posts: 2834
Joined: Mon May 31, 2004 4:32 pm
Location: Far, far away

#11 Post by Morningstar »

AySz88 wrote:I haven't seen the exploit code, so out of curiosity... Is this one of those things that could have been prevented with one of those "Oops! You were directed to this page from the wrong place!" screens?


I will PM you.
Image
Tested made this fabulous set for me!!! Isn't it great?
Kuri
PPT God
PPT God
Posts: 1962
Joined: Thu Jun 03, 2004 1:47 am
Location: Shenkuu

#12 Post by Kuri »

Oh wow, what will people think of next. :( Thanks for the heads up. I tend not to go to the lookups of people I don't know unless I can help it. Still, you'd think that with all this revamping that TNT would have checked for gaps like this...
Image
Set by Moogie
Morningstar
Beyond Godly
Beyond Godly
Posts: 2834
Joined: Mon May 31, 2004 4:32 pm
Location: Far, far away

#13 Post by Morningstar »

Kurisutaru wrote:Still, you'd think that with all this revamping that TNT would have checked for gaps like this...


Yeah, that was sort of my thought when I saw it. Like uhhhmmm, you all knew this could happen so why didn't anyone figure it out beforehand. Sad that a user has to bring it to the attention of the programmers.
Image
Tested made this fabulous set for me!!! Isn't it great?
saine
PPT Baby
PPT Baby
Posts: 68
Joined: Sun Oct 23, 2005 7:41 pm

#14 Post by saine »

On the bright side... at least it didn't benefit the person at all. The nps didn't go to them and share prices go up and down irrespective of how many people buy stocks.
AySz88
PPT Trainee
PPT Trainee
Posts: 549
Joined: Wed Jun 22, 2005 2:07 pm
Location: Huntington, NY
Contact:

#15 Post by AySz88 »

This particular exploit has been patched, it seems. To see the error message, try to include "<a src=asdf>" in your profile (don't bother to enter your current password, so it won't go through if something goes wrong) and try to submit.

I kinda think, though, it is partly a problem with the process_stockmarket page, maybe more a problem with it than anything else. There could be some use for allowing that sort of functionality in the process_stockmarket page - for example, you can do one-click-buy links from a spreadsheet or something. But there's already a way to pre-fill the name of the stock on the buy page - for example, http://www.neopets.com/stockmarket.phtm ... icker=ACFI - so there really isn't any need to one-click-buy stocks from any external place, and would have prevented holes like this from taking advantage of it.

I get the feeling that playing Buried Treasure and the Fire All Workers link of Plushie Tycoon would have the same problem if someone tried it. Can't try it now, of course. :)

[edit] clarify
~Habitual over-analyzer
Locked