HTTPS for login page

Dracons
Forum Newbie
Posts: 9
Joined: Mon Sep 24, 2007 12:35 pm

HTTPS for login page

Well, here's hoping I am posting this in the right place. I must say I was a little surprised not to find any posts on this subject.

Now then, there are actually two things I wanted to suggest. Both relate to increasing security of players passwords and accounts.

I'll start with the minor thing first. In the ascended server, when the entry code is correct but the name, email, or pass is incorrect it returns an error message to the login screen. In that error message, it includes plain text versions of the name, email, and pass. If someone where to login at a public place (say a cyber cafe) it is possible that someone could read the information and use it maliciously. I would ask that that portion of the error message be removed as it apparently has been done on the main server's login.

The second thing refers to a more general security hole. Using HTTP for the login page is not ideal. It is entirely possible that someone to intercept a player's login information when it is being sent to the server. This is even more dangerous for those who use the same password for their email accounts. The solution of this is relatively simple.

Have people login using HTTPS. HTTPS will encrypt the data and prevent people who might be searching for user names and passwords from learning your information.

Sounds great right?
Well, there is a downside and possibly the reason why it has not already been implemented. Most browsers will check with a certificate authority to see if the site that is using HTTPS has registered with them. If not, then the browser will display a warning saying that the certificate is not trusted. Most people who know little about the internet to the site may be scared off by this warning and thus might stop playing.

So ideally, if the Admin where to implement HTTPS he would pay the fee to get on a certificate authority's list (which may range from 13USD-1500USD per year according to wikipedia). He could also register with a free certificate authority, but free certificate authorities are not checked by all web-browsers so warning messages will still pop-up on a percentage of computers. Lastly, he could implement HTTPS and just assign his own certificates. This means most people would get the warning messages. However, I think the majority of the players will complain (probably in the bugs section) before abandoning gatewars.
User avatar
CABAL
Forum Expert
Posts: 1310
Joined: Wed Apr 30, 2008 1:44 am
Alliance: Aquila Ignis
Race: Death Watch
ID: 0
Location: Holy Terra

Re: HTTPS for login page

Dracons wrote:Well, here's hoping I am posting this in the right place. I must say I was a little surprised not to find any posts on this subject.

Now then, there are actually two things I wanted to suggest. Both relate to increasing security of players passwords and accounts.

I'll start with the minor thing first. In the ascended server, when the entry code is correct but the name, email, or pass is incorrect it returns an error message to the login screen. In that error message, it includes plain text versions of the name, email, and pass. If someone where to login at a public place (say a cyber cafe) it is possible that someone could read the information and use it maliciously. I would ask that that portion of the error message be removed as it apparently has been done on the main server's login.

The second thing refers to a more general security hole. Using HTTP for the login page is not ideal. It is entirely possible that someone to intercept a player's login information when it is being sent to the server. This is even more dangerous for those who use the same password for their email accounts. The solution of this is relatively simple.

Have people login using HTTPS. HTTPS will encrypt the data and prevent people who might be searching for user names and passwords from learning your information.

Sounds great right?
Well, there is a downside and possibly the reason why it has not already been implemented. Most browsers will check with a certificate authority to see if the site that is using HTTPS has registered with them. If not, then the browser will display a warning saying that the certificate is not trusted. Most people who know little about the internet to the site may be scared off by this warning and thus might stop playing.

So ideally, if the Admin where to implement HTTPS he would pay the fee to get on a certificate authority's list (which may range from 13USD-1500USD per year according to wikipedia). He could also register with a free certificate authority, but free certificate authorities are not checked by all web-browsers so warning messages will still pop-up on a percentage of computers. Lastly, he could implement HTTPS and just assign his own certificates. This means most people would get the warning messages. However, I think the majority of the players will complain (probably in the bugs section) before abandoning gatewars.


I'm against this. Why would anyone go through the trouble of intercepting login information for SGW? For bank details, maybe, but not for a browser game.

SGW already has enough safety measures - referrer checking, overwriting cookies each time you visit main page, etc...
Image
Image

MS-1 -> T-26 -> T-46 -> T-28 -> KV -> KV-3 -> IS -> IS-3 -> IS-4 -> IS-7
Dracons
Forum Newbie
Posts: 9
Joined: Mon Sep 24, 2007 12:35 pm

Re: HTTPS for login page

CABAL wrote:I'm against this. Why would anyone go through the trouble of intercepting login information for SGW? For bank details, maybe, but not for a browser game.


Good point, I was reluctant to even post this because that thought crossed my mind while typing it up.

However, it is also true that people tend to reuse passwords and user names quite often. For example, they may use the same password as their XBOX Live account or email. Either of which people could use to do some very bad things.

Of course, that would be the fault of the player and their ignorance. The Admin has no obligation to ensure that player's information is secure in transit. I would not expect that the Admin would be willing to pay for a certificate either. I would just be very happy if the Admin would support HTTPS.

In hindsight, it might be a better compromise to allow for the option to login through HTTPS and keep HTTP as default. If that were the case, then those who do not care about keeping their login information secure could still use the default HTTP while those who were a little more paranoid could use HTTPS. If this system were used, the need to pay for a certificate from a well known certificate authority would be less important.
User avatar
CABAL
Forum Expert
Posts: 1310
Joined: Wed Apr 30, 2008 1:44 am
Alliance: Aquila Ignis
Race: Death Watch
ID: 0
Location: Holy Terra

Re: HTTPS for login page

Well, if you do that, admin could just sign his own authentication.
Image
Image

MS-1 -> T-26 -> T-46 -> T-28 -> KV -> KV-3 -> IS -> IS-3 -> IS-4 -> IS-7
Dracons
Forum Newbie
Posts: 9
Joined: Mon Sep 24, 2007 12:35 pm

Re: HTTPS for login page

True enough. My second post is probably a better all around solution than my first. Guess I got a little carried away at first. Thanks for pointing out the over compensation in my first post CABAL.
Zeratul
Elder Administrator
Posts: 23203
Joined: Sat May 06, 2006 8:44 am
Alliance: Lucian Alliance
Race: Templar
ID: 7
Alternate name(s): Hrefna
Reitha
Location: Nivlheim

Honours and Awards

Re: HTTPS for login page

the page isnt coded in html, its coded in php...

the browser converts the visible parts to html, but the real code is still php...
Image
Image
"Great holy armies shall be gathered and trained to fight all who embrace evil. In the name of the gods, Browsers shall be changed to carry the internet out amongst the peoples and we will spread Firefox to all the unbelievers. The power of the Firefox will be felt far and wide and the wicked users of IE shall be converted to use the true browsers."

Curious about our color? Feel free to ask...
Dracons
Forum Newbie
Posts: 9
Joined: Mon Sep 24, 2007 12:35 pm

Re: HTTPS for login page

HTTP (Hyper Text Transfer Protocol) is not the same thing as HTML(Hyper Text Markup Language). HTML is the data that your web browser puts together to render the web page. HTTP is how that data is transported between the server to your browser. HTTPS (Hyper Text Transfer Protocol Secure) is an encrypted version of HTTP.

Also, the browser does not convert the visible parts of PHP (PHP: Hypertext Preprocessor) to HTML. That would be the server. Then the server sends an HTML page to your browser.
fourtwozero
Fledgling Forumer
Posts: 165
Joined: Tue Sep 29, 2009 2:06 pm
Alliance: Heavens Warriors
Race: Mixed Blood
ID: 20958
Location: Inside 1 in 3 cereal boxes

Re: HTTPS for login page

HTTPS would be a waste of an investment. The extra security not worth the cost of setup and maintenance.

It should be user security to not use important passwords for something trivial (eg. this game)

it is a good idea, and in a perfect world it would be viable. But there are many projects I have worked on that are more important than this game and HTTP served the purpose perfectly well.
This is an invisible signiture.
Just like when you used to close your eyes as a child and disappear.
Dracons
Forum Newbie
Posts: 9
Joined: Mon Sep 24, 2007 12:35 pm

Re: HTTPS for login page

Dracons wrote:In the ascended server, when the entry code is correct but the name, email, or pass is incorrect it returns an error message to the login screen. In that error message, it includes plain text versions of the name, email, and pass. If someone where to login at a public place (say a cyber cafe) it is possible that someone could read the information and use it maliciously. I would ask that that portion of the error message be removed as it apparently has been done on the main server's login.


This problem has not been taken care of as of yet. It really just got ignored. Thought I would bump it for awareness sake.

If it is not going to be fixed, I would appreciate someone telling me as much. That way I can stop bothering people by making such posts as this.
Buddha
Forum Irregular
Posts: 441
Joined: Tue Apr 21, 2009 9:22 am
Alliance: A Enlighted Place
Race: Human like you
ID: 0
Location: Farum, Denmark

Re: HTTPS for login page

Dracons wrote:
Dracons wrote:In the ascended server, when the entry code is correct but the name, email, or pass is incorrect it returns an error message to the login screen. In that error message, it includes plain text versions of the name, email, and pass. If someone where to login at a public place (say a cyber cafe) it is possible that someone could read the information and use it maliciously. I would ask that that portion of the error message be removed as it apparently has been done on the main server's login.


This problem has not been taken care of as of yet. It really just got ignored. Thought I would bump it for awareness sake.

If it is not going to be fixed, I would appreciate someone telling me as much. That way I can stop bothering people by making such posts as this.


M8 I haven't tested for some time but i bet that you still can log in with just the first letter of your login name in username on both servers.

I haven't checked tho but that issue been there for so long i can remember that people not really wanting to write there full username just write first letter then skip to email and password where they fill full informations.

But do not count me on that in case it has been fixed.
Dracons
Forum Newbie
Posts: 9
Joined: Mon Sep 24, 2007 12:35 pm

Re: HTTPS for login page

Nimras wrote:M8 I haven't tested for some time but i bet that you still can log in with just the first letter of your login name in username on both servers.

But do not count me on that in case it has been fixed.


I tested it and it is still a problem.

You can put any substring of the user name that starts with the first letter of the user name in the user name field and it will let you log in as long as a valid email and password that match that substring are provided.

Well, that's a little revealing about how the database is queried.

So that makes two security risks that should be fixed.
Dubby_CompGamerGeek2
Forum Addict
Posts: 3152
Joined: Sun Sep 23, 2007 12:55 am
Alliance: TÅTS / TÅF
Race: Magnificent
ID: 83588
Alternate name(s): >> Skype: IrishHighlanders <<
Dublin Warrior, Dubby, Dubs, DW, CGG, DCGG2.
Paul, Paulie Boy!, Paulie, PAULIE!!!, PAULIE BOY!!!, Paul James, etc.
Location: USA
Contact:

Re: HTTPS for login page

Dracons wrote:
Nimras wrote:M8 I haven't tested for some time but i bet that you still can log in with just the first letter of your login name in username on both servers.

But do not count me on that in case it has been fixed.


I tested it and it is still a problem.

You can put any substring of the user name that starts with the first letter of the user name in the user name field and it will let you log in as long as a valid email and password that match that substring are provided.

Well, that's a little revealing about how the database is queried.

So that makes two security risks that should be fixed.



agreed! :shock:
User avatar
CABAL
Forum Expert
Posts: 1310
Joined: Wed Apr 30, 2008 1:44 am
Alliance: Aquila Ignis
Race: Death Watch
ID: 0
Location: Holy Terra

Re: HTTPS for login page

Dracons wrote:Well, that's a little revealing about how the database is queried.


SQL Injection time! :lol:
Image
Image

MS-1 -> T-26 -> T-46 -> T-28 -> KV -> KV-3 -> IS -> IS-3 -> IS-4 -> IS-7
Lithium
Forum Zombie
Posts: 6085
Joined: Wed Jun 27, 2007 11:34 pm
Alliance: The Pirate's Panties
Race: Pirate
ID: 0
Location: Pantie's Island
Contact:

Re: HTTPS for login page

vby injection u can wipe a lot lol
the game doesnt have any kind of security is pure plain txt not protected as i see.
and when ppl say why bothering then how much is worth yr account?
mine si 400$
Image
Previously on GateWars Forum
The orgin of Guild
Spoiler
Lithium wrote:he was talkin bout me and remembering the days i was massing him wit one finger ;)
Guild wrote:is that the same finger you stick up your bum ? :smt060
Lithium wrote:no its the one who gave u life ;)
Field Marshall wrote:Lith put his finger up his bum and Guild arrived? :smt017
I wish that was genuinely true :)
Lithium wrote:oooo why there isnt any emo for this one , id have dropped of chair dead :smt042
MajorLeeHurts wrote:
Lithium wrote:oooo why there isnt any emo for this one , id have dropped of chair dead :smt042
Agreed that was the funnies **Filtered** ive read here!
Im sure JT is enjoying this thread , if he isnt hes in a coma !
Feedback Me
http://stargatewars.herebegames.com/vie ... 8&t=101259
Buddha
Forum Irregular
Posts: 441
Joined: Tue Apr 21, 2009 9:22 am
Alliance: A Enlighted Place
Race: Human like you
ID: 0
Location: Farum, Denmark

Re: HTTPS for login page

Lithium wrote:vby injection u can wipe a lot lol
the game doesnt have any kind of security is pure plain txt not protected as i see.
and when ppl say why bothering then how much is worth yr account?
mine si 400$


Have you wasted money on this game?

No offense my account is worth 0$ on the fact i haven't used one dime on the game its plaine text not worth it.
Locked

Return to “For Admin Archives”