NATION

PASSWORD

Glitch being abused

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.

Advertisement

Remove ads

User avatar
Improving Wordiness
Diplomat
 
Posts: 641
Founded: Dec 05, 2009
Ex-Nation

Postby Improving Wordiness » Tue Sep 06, 2011 3:38 pm

As much as I truly, truly hate agreeing with EW. *shudder*
In this case I must. It is a security risk and a bug.
Klaus Devestatorie wrote:I'm a massive tool. ;)

User avatar
Mahaj
Senator
 
Posts: 4110
Founded: Dec 08, 2009
Ex-Nation

Postby Mahaj » Tue Sep 06, 2011 3:39 pm

Johz wrote:
Ostroeuropa wrote:
My sentiments exactly.
Not only that, but setting the precedent that people are encouraged to go rooting around in code finding bugs that provide new "Features" is a risk.

Well the chk code issue is a biggie, and, although the news post would solve the issue temporarily, newer nations may not read all of the news articles, and, in time, an issue like this could well rise back up again. Thus the argument is now that a safer alternative to a known placeholder effect be found for the continuation of a system with much precedent.

However, rooting around in code has been an aspect of our perusal of the game since time immemorial. Indeed, Ballotonia is pretty much the chief rooter. The problem then is, at what point does a bug become a feature and vice versa? In this situation, I'd argue that the bug was a bug, because it presented security issues. But without those security issues, it is a natural consequence of game design.

Well, a feature could be created that does what this does, then.
Aal Izz Well: UDL
<Koth> I'm still going by the assumption that Mahaj is Unibot's kid brother or something
Kandarin(Naivetry): You're going to have a great NS career ahead of you if you want it, Mahaj. :)
<@Eluvatar> Why is SkyDip such a purist raiderist
<+frattastan> Because his region was never raided.
<+maxbarry> EarthAway: I guess I might dabble in raiding just to experience it better, but I would not like to raid regions of natives, so I'd probably be more interested in defense and liberations

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Postby [violet] » Tue Sep 06, 2011 3:42 pm

I prefer that a new thread be used to make the argument, "The ENDORSE button should work even when nations are in different regions." That would be a new feature. If the discussion happens here, the concept gets tangled up in ideas about URL manipulation and what's legal and what people are used to. And that's not relevant, except insofar as we have some historical data on how such a feature would likely be used.

User avatar
Mahaj
Senator
 
Posts: 4110
Founded: Dec 08, 2009
Ex-Nation

Postby Mahaj » Tue Sep 06, 2011 3:46 pm

[violet] wrote:I prefer that a new thread be used to make the argument, "The ENDORSE button should work even when nations are in different regions." That would be a new feature. If the discussion happens here, the concept gets tangled up in ideas about URL manipulation and what's legal and what people are used to. And that's not relevant, except insofar as we have some historical data on how such a feature would likely be used.

Okay, violet, apologies.

I won't pursue a thread about that right now. I still believe that there is little risk posed by this. especially because the code changes once you have logged out
Aal Izz Well: UDL
<Koth> I'm still going by the assumption that Mahaj is Unibot's kid brother or something
Kandarin(Naivetry): You're going to have a great NS career ahead of you if you want it, Mahaj. :)
<@Eluvatar> Why is SkyDip such a purist raiderist
<+frattastan> Because his region was never raided.
<+maxbarry> EarthAway: I guess I might dabble in raiding just to experience it better, but I would not like to raid regions of natives, so I'd probably be more interested in defense and liberations

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Postby [violet] » Tue Sep 06, 2011 3:49 pm

The Republic of Lanos wrote:Is URL manipulation, regardless of who's doing it, legal?

Yes. Or, rather, it's irrelevant; it doesn't matter how you interact with the site, but what you do. In the same way, it's legal to access the site with a web browser, but illegal to use the browser to post spam.

If it's possible to do something important via URL manipulation that isn't possible otherwise, then it's a bug and admin is likely to eventually either (a) close that possibility, or (b) make it accessible to everyone, removing the need for URL manipulation. Because otherwise we have a game that you can only play properly if you manipulate URLs, and that is deeply weird.

User avatar
Mahaj
Senator
 
Posts: 4110
Founded: Dec 08, 2009
Ex-Nation

Postby Mahaj » Tue Sep 06, 2011 3:50 pm

[violet] wrote:
The Republic of Lanos wrote:Is URL manipulation, regardless of who's doing it, legal?

Yes. Or, rather, it's irrelevant; it doesn't matter how you interact with the site, but what you do. In the same way, it's legal to access the site with a web browser, but illegal to use the browser to post spam.

If it's possible to do something important via URL manipulation that isn't possible otherwise, then it's a bug and admin is likely to eventually either (a) close that possibility, or (b) make it accessible to everyone, removing the need for URL manipulation. Because otherwise we have a game that you can only play properly if you manipulate URLs, and that is deeply weird.

you can do a tiny bit of manipulation with the dossier, but thats just about it.
Aal Izz Well: UDL
<Koth> I'm still going by the assumption that Mahaj is Unibot's kid brother or something
Kandarin(Naivetry): You're going to have a great NS career ahead of you if you want it, Mahaj. :)
<@Eluvatar> Why is SkyDip such a purist raiderist
<+frattastan> Because his region was never raided.
<+maxbarry> EarthAway: I guess I might dabble in raiding just to experience it better, but I would not like to raid regions of natives, so I'd probably be more interested in defense and liberations

User avatar
[violet]
Executive Director
 
Posts: 16205
Founded: Antiquity

Postby [violet] » Tue Sep 06, 2011 4:07 pm

Mahaj wrote:So make a simple news post that you should never hand out your chk code. Problem solved! its like a password built into the game.


Old-timers may remember that we used to have PIN codes built into URLs, and if you told anyone your PIN while you were still logged in -- for example, by posting an URL -- they could seize control of your nation. We tried valiantly to warn people not post PINs, but of course they did anyway, so we ended up rewriting the code.

CHK codes are a little different: they exist to save you from a malicious third party who tricks you into clicking a link. Without CHK codes, it would be possible for someone to post, say, "Check out my awesome new NS calculator!" and you click, and their server instructs your browser to send a few key commands to the NS server (change password, change email, endorse), which the NS server obeys because the requests are indeed coming from you, with a valid current session. This is called a cross-site scripting attack or XSS.

Normally, nobody notices CHK codes, because they're invisible unless you go digging around in page code. They are not usually anything you need to worry about.

However, if you dig out your current CHK code and reveal it to someone, then click on a link or type in an URL they control, they can immediately seize your nation. It's basically equivalent to revealing your login password.

User avatar
Mahaj
Senator
 
Posts: 4110
Founded: Dec 08, 2009
Ex-Nation

Postby Mahaj » Tue Sep 06, 2011 4:13 pm

[violet] wrote:
Mahaj wrote:So make a simple news post that you should never hand out your chk code. Problem solved! its like a password built into the game.


Old-timers may remember that we used to have PIN codes built into URLs, and if you told anyone your PIN while you were still logged in -- for example, by posting an URL -- they could seize control of your nation. We tried valiantly to warn people not post PINs, but of course they did anyway, so we ended up rewriting the code.

CHK codes are a little different: they exist to save you from a malicious third party who tricks you into clicking a link. Without CHK codes, it would be possible for someone to post, say, "Check out my awesome new NS calculator!" and you click, and their server instructs your browser to send a few key commands to the NS server (change password, change email, endorse), which the NS server obeys because the requests are indeed coming from you, with a valid current session. This is called a cross-site scripting attack or XSS.

Normally, nobody notices CHK codes, because they're invisible unless you go digging around in page code. They are not usually anything you need to worry about.

However, if you dig out your current CHK code and reveal it to someone, then click on a link or type in an URL they control, they can immediately seize your nation. It's basically equivalent to revealing your login password.

Presumably those news posts came out after revealing incidents? A news post now would nip it in the bud.
Aal Izz Well: UDL
<Koth> I'm still going by the assumption that Mahaj is Unibot's kid brother or something
Kandarin(Naivetry): You're going to have a great NS career ahead of you if you want it, Mahaj. :)
<@Eluvatar> Why is SkyDip such a purist raiderist
<+frattastan> Because his region was never raided.
<+maxbarry> EarthAway: I guess I might dabble in raiding just to experience it better, but I would not like to raid regions of natives, so I'd probably be more interested in defense and liberations

User avatar
Rozonia
Lobbyist
 
Posts: 20
Founded: Mar 09, 2006
Ex-Nation

Postby Rozonia » Tue Sep 06, 2011 7:28 pm

How many people read News posts? I agree with EW. This sounds like a security risk to me.

User avatar
Mahaj
Senator
 
Posts: 4110
Founded: Dec 08, 2009
Ex-Nation

Postby Mahaj » Tue Sep 06, 2011 7:43 pm

Rozonia wrote:How many people read News posts? I agree with EW. This sounds like a security risk to me.

With the identifier thingy, quite a few.
Aal Izz Well: UDL
<Koth> I'm still going by the assumption that Mahaj is Unibot's kid brother or something
Kandarin(Naivetry): You're going to have a great NS career ahead of you if you want it, Mahaj. :)
<@Eluvatar> Why is SkyDip such a purist raiderist
<+frattastan> Because his region was never raided.
<+maxbarry> EarthAway: I guess I might dabble in raiding just to experience it better, but I would not like to raid regions of natives, so I'd probably be more interested in defense and liberations

User avatar
Mallorea and Riva
Game Moderator
 
Posts: 9987
Founded: Sep 29, 2010
Benevolent Dictatorship

Postby Mallorea and Riva » Tue Sep 06, 2011 8:41 pm

Edited.
At violet's request, I have created a new thread to discuss the merits of a change to the game code. It can be found here.
Last edited by Mallorea and Riva on Tue Sep 06, 2011 8:45 pm, edited 3 times in total.
Ideological Bulwark #253
Retired Major of The Black Hawks
Retired Charter Nation: Political Affairs in Antarctic Oasis
Retired Colonel of DEN Central Command, now defunct
Former Delegate of The South Pacific, winner of TSP's "Best Dali" Award
Retired Secretary of Defense of Stargate
Terror of The Joint Systems Alliance
Mall Isaraider, son of Tram and Spartz, Brother of Tal and apparently Sev the treacherous bastard.
Frattastan quote of the month: Mall is following those weird beef-only diets now.

Previous

Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: Bali Kingdom, Empire of Dabiristan, Gravistar, Liravia, Louisiene, Patriums, Tiami, Tungstan

Advertisement

Remove ads

cron